mirror of
https://github.com/ceratic/MediaCollectorLibary.git
synced 2026-05-13 23:56:46 +02:00
yay
This commit is contained in:
@@ -358,7 +358,9 @@ class Game extends Model
|
||||
'added_asc' => 'added_at ASC NULLS LAST',
|
||||
'added_desc' => 'added_at DESC NULLS LAST',
|
||||
'last_played_asc' => 'last_played_at ASC NULLS LAST',
|
||||
'last_played_desc' => 'last_played_at DESC NULLS LAST'
|
||||
'last_played_desc' => 'last_played_at DESC NULLS LAST',
|
||||
'platforms_asc' => 'platform_count ASC',
|
||||
'platforms_desc' => 'platform_count DESC'
|
||||
];
|
||||
|
||||
$sortClause = $sortOptions[$sort] ?? 'title ASC';
|
||||
|
||||
Reference in New Issue
Block a user