Skip to content

Commit

Permalink
sortierung verändert
Browse files Browse the repository at this point in the history
  • Loading branch information
skerbis committed Feb 1, 2022
1 parent 3894447 commit 8d901cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/entries.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
FROM ' . $tableEvent . ' AS en
LEFT JOIN ' . $tableCategories . ' AS ca ON en.category = ca.id
'.$where.'
ORDER BY en.start_date DESC', 30, null, false);
ORDER BY en.start_date, en.start_time DESC', 30, null, false);
$list->addTableAttribute('class', 'table-striped');

// merge group with default
Expand Down

2 comments on commit 8d901cf

@isospin
Copy link
Member

@isospin isospin commented on 8d901cf Feb 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

änderung führt zu fehler. besser wäre:
ORDER BY en.start_date DESC, en.start_time DESC', 30, null, false);

@skerbis
Copy link
Member Author

@skerbis skerbis commented on 8d901cf Feb 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Korrigiert. Danke

Please sign in to comment.