added sru-compatibility to yacyuisearch ('query' instead of 'search')

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5637 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent 9519d84372
commit 4693495bbe

@ -15,8 +15,9 @@
$(document).ready(function() {
var height = document.documentElement.clientHeight - 240;
var query = $.query.get('search');
$.query.REMOVE('search');
var query = $.query.get('search');
if (query == '') query = $.query.get('query');
$.query.REMOVE('search');
$(".yresult").flexigrid({
url: '/yacysearch.json',
@ -101,7 +102,7 @@
var param = [
{ name : 'startRecord', value : offset }
,{ name : 'maximumRecords', value : p.rp }
,{ name : 'search', value : p.query}
,{ name : 'query', value : p.query}
,{ name : 'urlmaskfilter', value : urlmaskfilter}
,{ name : 'prefermaskfilter', value: prefermaskfilter}
,{ name : 'verify', value : verify}

Loading…
Cancel
Save