From 4af47baa0641ea00556a351127d7b75e9b6a903e Mon Sep 17 00:00:00 2001 From: "Anders S. Mortensen" Date: Mon, 18 Dec 2006 14:14:43 +0000 Subject: [PATCH] Remove illegal ccl characters from subject refinements. --- www/test1/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(); } -- 1.7.10.4