From 085f329d7aa947646b9ccee52a293b9c8dd7c640 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Sat, 12 Jul 2008 09:09:14 -0500 Subject: [PATCH] Fix for bug 2342: Searching on more than 1 itemtype breaks The problem was that the 'mc-' was removed from the checkboxes a while back and that's what triggers the automatic application of OR boolean searching. I've added it back to the templates and modified the ccl.properties file to include mapping for itype,itemtype and ccode --- etc/zebradb/ccl.properties | 4 +++- .../intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index 879ded5f3e..775feed6e2 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -931,6 +931,7 @@ totalissues 1=9003 cn-bib-source 1=9004 cn-bib-sort 1=9005 itemtype 1=9006 +mc-itemtype itemtype cn-class 1=9007 cn-item 1=9008 cn-prefix 1=9009 @@ -952,6 +953,7 @@ restricted 1=8006 cn-sort 1=8007 notforloan 1=8008 ccode 1=8009 +mc-ccode ccode itemnumber 1=8010 # homebranch 1=8011 homebranch 1=homebranch @@ -978,7 +980,7 @@ uri 1=8028 replacementprice 1=8029 replacementpricedate 1=8030 itype 1=8031 -mc itype +mc-itype itype #date1 1=8801 #date2 1=8802 diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl index d58ad06290..f343e0c0dc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl @@ -91,7 +91,7 @@ " alt="" /> - -" name="limit" value=":" />  + -" name="limit" value="mc-:" />  diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl index 631f8b45e8..450d6188dc 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl @@ -195,7 +195,7 @@ - -- 2.39.5
-" name="limit" value=":"/>" alt="" />  + -" name="limit" value="mc-:"/>" alt="" />