mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 13:43:41 +08:00
FIX: show more results on search page was not performing a new search
We always want to update model if query params are changed on topic list
This commit is contained in:
parent
d247c002bc
commit
078177cf79
|
@ -2,13 +2,13 @@ import DiscourseController from 'discourse/controllers/controller';
|
|||
|
||||
// Just add query params here to have them automatically passed to topic list filters.
|
||||
export var queryParams = {
|
||||
order: { replace: true },
|
||||
ascending: { replace: true },
|
||||
status: { replace: true },
|
||||
state: { replace: true },
|
||||
search: { replace: true },
|
||||
max_posts: { replace: true },
|
||||
q: { replace: true }
|
||||
order: { replace: true, refreshModel: true },
|
||||
ascending: { replace: true, refreshModel: true },
|
||||
status: { replace: true, refreshModel: true },
|
||||
state: { replace: true, refreshModel: true },
|
||||
search: { replace: true, refreshModel: true },
|
||||
max_posts: { replace: true, refreshModel: true },
|
||||
q: { replace: true, refreshModel: true }
|
||||
};
|
||||
|
||||
// Basic controller options
|
||||
|
|
Loading…
Reference in New Issue
Block a user