qs module changes categories param

v1.18.x
barisusakli 10 years ago
parent d3aa353d73
commit 9487f3a028

@ -19,8 +19,8 @@ define('forum/search', ['search'], function(searchModule) {
$('#posted-by-user').val(params.by); $('#posted-by-user').val(params.by);
} }
if (params && params['categories[]']) { if (params && (params['categories[]'] || params.categories)) {
$('#posted-in-categories').val(params['categories[]']); $('#posted-in-categories').val((params['categories[]'] || params.categories));
} }
if (params && params.searchChildren) { if (params && params.searchChildren) {

Loading…
Cancel
Save