mevdschee / php-crud-ui

Single file PHP script that adds a UI to a PHP-CRUD-API project
MIT License
123 stars 55 forks source link

[BUG]: Columns are shifted #59

Open Hope-IT-Works opened 1 year ago

Hope-IT-Works commented 1 year ago

Hello, the columns are being shifted. The values are not matching to the keys in the UI (in the list, on the single entry page it's right), but the API does it right.

Result of php-crud-api:

/api.php/records/inbox/1

{
    "UpdatedInDB": "2023-06-04 03:20:38",
    "ReceivingDateTime": "2023-06-04 03:19:43",
    "Text": "REDACTED",
    "SenderNumber": "REDACTED",
    "Coding": "Default_No_Compression",
    "UDH": "",
    "SMSCNumber": "REDACTED",
    "Class": -1,
    "TextDecoded": "Hallo dies ist eine Test Nachricht @ÄÖÜ",
    "ID": 1,
    "RecipientID": "",
    "Processed": "false",
    "Status": 0
}

Result of php-crud-ui:

image

image

What can i do to resolve this issue?

Greetings from Berlin, Germany Tobias

mevdschee commented 1 year ago

Seems like a bug to me.