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

@ -16,6 +16,7 @@
var height = document.documentElement.clientHeight - 240; var height = document.documentElement.clientHeight - 240;
var query = $.query.get('search'); var query = $.query.get('search');
if (query == '') query = $.query.get('query');
$.query.REMOVE('search'); $.query.REMOVE('search');
$(".yresult").flexigrid({ $(".yresult").flexigrid({
@ -101,7 +102,7 @@
var param = [ var param = [
{ name : 'startRecord', value : offset } { name : 'startRecord', value : offset }
,{ name : 'maximumRecords', value : p.rp } ,{ name : 'maximumRecords', value : p.rp }
,{ name : 'search', value : p.query} ,{ name : 'query', value : p.query}
,{ name : 'urlmaskfilter', value : urlmaskfilter} ,{ name : 'urlmaskfilter', value : urlmaskfilter}
,{ name : 'prefermaskfilter', value: prefermaskfilter} ,{ name : 'prefermaskfilter', value: prefermaskfilter}
,{ name : 'verify', value : verify} ,{ name : 'verify', value : verify}

Loading…
Cancel
Save