Skip to content

Commit

Permalink
FIX: Empty query param in group-index url (#23520)
Browse files Browse the repository at this point in the history
This prevents an empty `order=` query param from appearing in the URL when navigating from `/g` to a group page.
  • Loading branch information
CvX committed Sep 11, 2023
1 parent 40acb9a commit 1fcf07b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -11,7 +11,7 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
export default Controller.extend({
queryParams: ["order", "asc", "filter"],

order: "",
order: null,
asc: true,
filter: null,
filterInput: null,
Expand Down

0 comments on commit 1fcf07b

Please sign in to comment.