X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Ftest1%2Findex.html;h=1635922fbcdeb4aed13ff321fda16bfcfc870b2f;hb=8adf6d6266eabaf1148b5675d2f83d33e2797431;hp=6ea1e45c76cebd8a1ce487290af13f750faa8a7d;hpb=eca54f46680e3da32c28be81f127be97049b6edb;p=pazpar2-moved-to-github.git diff --git a/www/test1/index.html b/www/test1/index.html index 6ea1e45..1635922 100644 --- a/www/test1/index.html +++ b/www/test1/index.html @@ -155,6 +155,7 @@ function check_search() var url = "search.pz2?" + "command=show" + "&start=" + startrec + + "&num=15" + "&session=" + session + "&block=1"; xshow = GetXmlHttpObject(); @@ -166,8 +167,10 @@ function check_search() function refine_query (obj) { var query_cell = document.getElementById('query'); - - query_cell.value += ' and su=' + obj.innerHTML; + var subject = obj.innerHTML; + + subject = subject.replace(/[\(\)]/g, ''); + query_cell.value += ' and su=(' + subject + ')'; start_search(); }