pennyMorant / zeropanel

MIT License
37 stars 15 forks source link

Cannot sorting column last update in Ticket User #6

Closed alohane closed 1 year ago

alohane commented 1 year ago

Cannot sorting column last update in Ticket User {"error":{"type":"Illuminate\Database\QueryException","message":"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_updated' in 'order clause' (SQL: select * from ticket where userid = 1 order by last_updated asc limit 10 offset 0)","code":"42S22","file":"\/www\/wwwroot\/zeropanel\/vendor\/illuminate\/database\/Connection.php","line":760}}

Fix: add column last_updated to table