discourse/app/assets
Alan Guo Xiang Tan 20840c341f
FIX: /filter route input field not updating on route change (#23119)
What is the problem here?

When transiting between `/filter` routes with different `q` query
params, the input field is not updating to include the values in the `q`
query param. This was because we were setting the value of the input
field in the constructor of the controller but controllers are actually
singletons in Ember so setting the value of the input field is only done
once when the controller is initialised.

What is the fix here?

Instead of setting the value of the input field in the controller, we
set the value in the `setupController` hook in the route file.
2023-08-17 09:04:48 +08:00
..
images
javascripts FIX: /filter route input field not updating on route change (#23119) 2023-08-17 09:04:48 +08:00
stylesheets FIX: Adjust badge overflow ellipsis (#23086) 2023-08-14 11:10:02 -05:00