|
|
@ -73,7 +73,7 @@ define('admin/modules/search', ['mousetrap'], function (mousetrap) {
|
|
|
|
if (!selected.length) {
|
|
|
|
if (!selected.length) {
|
|
|
|
selected = menu.find('li.result > a').first().attr('href');
|
|
|
|
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(/^\//, ''));
|
|
|
|
ajaxify.go(href.replace(/^\//, ''));
|
|
|
|
|
|
|
|
|
|
|
@ -140,7 +140,7 @@ define('admin/modules/search', ['mousetrap'], function (mousetrap) {
|
|
|
|
menu.find('.search-forum')
|
|
|
|
menu.find('.search-forum')
|
|
|
|
.not('.divider')
|
|
|
|
.not('.divider')
|
|
|
|
.find('a')
|
|
|
|
.find('a')
|
|
|
|
.attr('href', config.relative_path + '/search/' + value)
|
|
|
|
.attr('href', config.relative_path + '/search?in=titlesposts&term=' + value)
|
|
|
|
.find('strong')
|
|
|
|
.find('strong')
|
|
|
|
.html(value);
|
|
|
|
.html(value);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|