evazion
59f166a637
Fix #5057 : Modqueue: filtering by tag breaks ordering
...
Fix the order dropdown box on the modqueue page not working when filtering by tag.
This happened because when you do a tag search, the default order is set to `ORDER BY posts.id DESC`.
When you applied another order with the dropdown box, the new order would be tacked on to the old
ordering as a tiebreaker instead of replacing it, producing e.g. `ORDER BY posts.id DESC, queued_at DESC`
instead of `ORDER BY queued_at DESC`. The default order would always win because `posts.id` is
unique and doesn't have ties.
The fix is to have orders always override the previous order instead of adding to it.
Note that now if you use an `order:`, `ordfav:`, or `ordpool:` metatag in the search box on the
modqueue page, they will always be ignored in favor of the dropdown box.
2022-09-28 00:29:50 -05:00
..
2022-09-25 04:04:28 -05:00
2021-10-09 22:36:26 -05:00
2022-01-02 17:10:27 -06:00
2022-09-25 04:04:28 -05:00
2021-02-15 00:17:31 -06:00
2022-09-26 22:50:45 -05:00
2022-08-25 21:50:33 -05:00
2020-07-27 19:29:22 +00:00
2022-02-22 00:17:53 -06:00
2022-09-22 01:52:13 -05:00
2022-08-24 02:03:37 -05:00
2022-09-06 18:01:30 -05:00
2022-09-25 04:04:28 -05:00
2022-04-30 20:03:04 -05:00
2022-09-25 04:04:28 -05:00
2022-09-25 04:04:28 -05:00
2020-12-05 13:10:11 -06:00
2022-09-18 05:02:10 -05:00
2022-01-15 20:26:30 -06:00
2018-04-06 18:09:57 -07:00
2021-09-06 03:24:53 -05:00
2022-09-22 01:52:13 -05:00
2021-11-23 23:18:54 -06:00
2021-11-14 20:11:38 -06:00
2022-09-25 04:04:28 -05:00
2020-03-30 12:36:06 -05:00
2022-01-21 22:35:20 -06:00
2022-09-17 21:32:26 -05:00
2022-09-25 23:02:46 -05:00
2021-01-12 19:30:20 -06:00
2022-08-25 21:28:21 -05:00
2022-08-23 18:07:04 -05:00
2020-12-25 02:43:56 -06:00
2022-02-05 23:14:14 -06:00
2021-09-16 00:25:21 -05:00
2021-06-16 05:36:24 -05:00
2022-09-25 23:16:21 -05:00
2022-09-25 15:06:08 -05:00
2022-09-28 00:29:50 -05:00
2020-01-21 00:09:38 -06:00
2018-04-06 18:09:57 -07:00
2020-07-27 19:29:22 +00:00
2020-07-27 19:29:22 +00:00
2021-01-08 22:34:37 -06:00
2021-01-08 22:34:37 -06:00
2020-03-30 12:36:06 -05:00
2020-06-11 01:02:01 -05:00
2019-08-25 21:06:16 -05:00
2020-03-21 21:07:35 -05:00
2022-09-22 01:52:13 -05:00
2022-08-24 14:29:19 -05:00
2022-09-24 20:12:41 -05:00
2022-04-11 21:05:44 +02:00
2022-09-26 03:24:50 -05:00
2022-09-24 23:41:14 -05:00
2022-09-25 04:04:28 -05:00
2022-09-24 20:12:41 -05:00
2022-01-15 22:02:47 -06:00
2022-09-25 04:04:28 -05:00
2022-09-24 23:41:14 -05:00
2021-03-05 16:47:20 -06:00
2021-12-08 03:01:54 -06:00
2022-04-29 17:13:33 -05:00
2020-03-30 12:36:06 -05:00
2020-12-20 00:51:29 -06:00
2022-01-07 21:11:04 -06:00
2018-09-11 13:43:34 -07:00
2022-05-09 02:26:19 -05:00
2020-12-17 03:13:54 -06:00
2022-09-25 04:04:28 -05:00
2022-09-25 04:04:28 -05:00
2022-09-11 18:41:16 -05:00
2022-09-11 17:47:44 -05:00
2022-06-01 18:31:46 -05:00
2022-07-01 18:13:36 -05:00
2022-09-16 05:39:25 -05:00
2022-09-16 06:01:44 -05:00
2022-09-25 04:04:28 -05:00
2022-03-09 01:14:09 -06:00
2021-01-12 19:30:20 -06:00
2022-05-15 01:05:24 -05:00
2022-09-24 03:48:45 -05:00
2022-05-06 22:52:33 -05:00
2022-09-22 01:52:13 -05:00
2022-09-12 21:24:03 -05:00