FIX: do not persist tags query param (#14527)

FIX: do not persist tags query param (#14527)

This commit fixes the inconsistent behaviour where a user lands on blank page from the /new-topic route if the tag beign used does not have any topic attached.

Tag-route when creating a topic via URL - bug - Discourse Meta

diff --git a/app/assets/javascripts/discourse/app/controllers/discovery-sortable.js b/app/assets/javascripts/discourse/app/controllers/discovery-sortable.js
index 4fab6af..1cb557d 100644
--- a/app/assets/javascripts/discourse/app/controllers/discovery-sortable.js
+++ b/app/assets/javascripts/discourse/app/controllers/discovery-sortable.js
@@ -9,7 +9,6 @@ export const queryParams = {
   search: { replace: true, refreshModel: true },
   max_posts: { replace: true, refreshModel: true },
   q: { replace: true, refreshModel: true },
-  tags: { replace: true },
   before: { replace: true, refreshModel: true },
   bumped_before: { replace: true, refreshModel: true },
   f: { replace: true, refreshModel: true },

GitHub sha: be75d20fadf4952753c9a27625e9ba9292afe0e5

This commit appears in #14527 which was approved by eviltrout. It was merged by techAPJ.

This commit has been mentioned on Discourse Meta. There might be relevant details there: