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:
Sam 2015-07-13 11:13:13 +10:00
parent d247c002bc
commit 078177cf79
1 changed files with 7 additions and 7 deletions

View File

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