From c517733e346df8b3a1a424849a5c6bf39ccb99e7 Mon Sep 17 00:00:00 2001 From: RoiEX Date: Sun, 5 Mar 2017 11:38:40 +0100 Subject: [PATCH] Fix admin Search --- public/src/admin/modules/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/admin/modules/search.js b/public/src/admin/modules/search.js index e950ea76c5..c52008fdab 100644 --- a/public/src/admin/modules/search.js +++ b/public/src/admin/modules/search.js @@ -73,7 +73,7 @@ define('admin/modules/search', ['mousetrap'], function (mousetrap) { if (!selected.length) { selected = menu.find('li.result > a').first().attr('href'); } - var href = selected || config.relative_path + '/search/' + input.val(); + var href = selected || config.relative_path + '/search?in=titlesposts&term=' + input.val(); ajaxify.go(href.replace(/^\//, '')); @@ -140,7 +140,7 @@ define('admin/modules/search', ['mousetrap'], function (mousetrap) { menu.find('.search-forum') .not('.divider') .find('a') - .attr('href', config.relative_path + '/search/' + value) + .attr('href', config.relative_path + '/search?in=titlesposts&term=' + value) .find('strong') .html(value); } else {