mirror of
https://github.com/discourse/discourse.git
synced 2025-06-11 12:33:51 +08:00
FIX: Empty query param in group-index url (#23520)
This prevents an empty `order=` query param from appearing in the URL when navigating from `/g` to a group page.
This commit is contained in:
@ -11,7 +11,7 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
|
|||||||
export default Controller.extend({
|
export default Controller.extend({
|
||||||
queryParams: ["order", "asc", "filter"],
|
queryParams: ["order", "asc", "filter"],
|
||||||
|
|
||||||
order: "",
|
order: null,
|
||||||
asc: true,
|
asc: true,
|
||||||
filter: null,
|
filter: null,
|
||||||
filterInput: null,
|
filterInput: null,
|
||||||
|
Reference in New Issue
Block a user