mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2025-09-13 21:13:40 +02:00
fix: order work by descending date_created (#9)
Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/9 Co-authored-by: Victor Westerlund <victor.vesterlund@gmail.com> Co-committed-by: Victor Westerlund <victor.vesterlund@gmail.com>
This commit is contained in:
parent
9e3c549e0a
commit
18e1ae5088
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@
|
|||
|
||||
$response = $this->db->for(WorkModel::TABLE)
|
||||
->where($filters)
|
||||
->order([WorkModel::DATE_CREATED->value => "DESC"])
|
||||
->select([
|
||||
WorkModel::ID->value,
|
||||
WorkModel::TITLE->value,
|
||||
|
|
Loading…
Add table
Reference in a new issue