From: Anders S. Mortensen Date: Mon, 18 Dec 2006 14:14:43 +0000 (+0000) Subject: Remove illegal ccl characters from subject refinements. X-Git-Tag: before.append.child~102 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=4af47baa0641ea00556a351127d7b75e9b6a903e;p=pazpar2-moved-to-github.git Remove illegal ccl characters from subject refinements. --- diff --git a/www/test1/index.html b/www/test1/index.html index 6ea1e45..9360c46 100644 --- a/www/test1/index.html +++ b/www/test1/index.html @@ -166,8 +166,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(); }