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:
Jarek Radosz 2023-09-12 00:55:55 +02:00 committed by GitHub
parent 40acb9a111
commit 1fcf07be32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,