David Taylor
92bc61b4be
FIX: Respect default category sort order when navigating within app ( #23270 )
...
When navigating around, we make ajax requests with a parameter like `?filter=latest`. This results in the TopicQuery being set up with `filter: "latest"` as a string. The logic introduced in fd9a5bc0 checks for equality with `:latest` and `:unseen` symbols, which didn't work correctly in this situation
This commit makes the logic detect both strings and symbols, and adds a spec for the behaviour.
2023-08-25 16:49:49 +01:00
..
2023-07-26 12:45:35 +02:00
2023-06-26 11:41:52 +02:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-08-18 08:39:10 -04:00
2023-01-09 11:49:28 +00:00
2023-08-08 11:18:55 +10:00
2023-06-06 15:47:40 +10:00
2023-06-26 11:41:52 +02:00
2023-06-16 15:28:03 +01:00
2023-07-07 10:48:14 -05:00
2023-01-09 11:49:28 +00:00
2023-05-24 08:59:37 +08:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-08-02 10:46:37 +08:00
2023-03-22 14:43:32 +00:00
2023-08-24 16:44:06 -03:00
2023-08-02 12:48:20 +01:00
2023-08-08 11:18:55 +10:00
2023-01-09 11:49:28 +00:00
2023-01-16 09:08:44 +11:00
2023-01-09 11:49:28 +00:00
2023-08-01 13:53:23 +02:00
2023-06-26 11:41:52 +02:00
2023-06-05 08:06:00 +08:00
2023-08-15 14:16:06 -03:00
2023-06-05 08:06:00 +08:00
2023-01-09 11:49:28 +00:00
2023-03-13 08:09:38 +08:00
2023-08-04 15:28:58 +02:00
2023-08-18 08:39:10 -04:00
2023-02-13 12:39:45 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-07-28 12:53:46 +01:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-02-27 12:48:48 +11:00
2023-05-10 08:45:13 -03:00
2023-02-01 09:55:21 +00:00
2023-07-25 15:12:22 +08:00
2023-01-09 11:49:28 +00:00
2023-07-28 12:53:44 +01:00
2023-07-19 12:21:34 -06:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-24 16:36:22 +02:00
2023-06-26 13:16:03 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-01 10:00:01 +10:00
2023-06-02 19:47:29 +05:30
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2022-08-30 20:33:08 +01:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-07-28 09:07:53 -06:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-23 11:18:33 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-02 10:46:37 +08:00
2023-06-26 10:09:57 +05:30
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-05-31 19:32:06 +05:30
2023-08-18 15:30:59 +00:00
2023-01-09 11:49:28 +00:00
2023-07-28 12:53:51 +01:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-08-02 10:46:37 +08:00
2023-01-09 11:49:28 +00:00
2023-01-16 17:28:59 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-08 11:18:55 +10:00
2023-01-09 11:49:28 +00:00
2023-04-11 10:16:28 +01:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-09 13:55:00 -04:00
2023-08-09 13:55:00 -04:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-08-01 09:34:57 +01:00
2023-08-08 11:18:55 +10:00
2023-03-30 13:52:10 +10:00
2023-08-10 02:03:38 +02:00
2023-06-26 11:01:59 +08:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-02 15:28:17 -04:00
2022-07-28 10:27:38 +08:00
2023-01-09 11:49:28 +00:00
2023-07-27 10:52:33 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-03-30 14:08:19 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-07 22:51:24 +03:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-18 18:15:23 +01:00
2023-03-06 11:41:47 +03:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-25 16:49:49 +01:00
2023-02-28 14:31:59 +02:00
2023-06-26 11:41:52 +02:00
2023-03-31 09:03:15 +11:00
2023-06-13 11:08:55 -06:00
2023-06-28 06:21:56 +08:00
2023-02-07 15:28:59 -03:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-07-12 12:06:49 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-03-23 12:01:04 +00:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-07-25 14:04:39 +01:00
2023-07-28 12:53:51 +01:00