This patch escape the searchbox to permit to have quotes in searchs.
And make exacts search on autorities from subject tag cloud.
---
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 2 +-
.../prog/en/modules/opac-tags_subject.tmpl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
index 54f9bff..debbd70 100644
--- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
+++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
@@ -55,7 +55,7 @@
<option value="callnum">Call Number</option>
<!-- /TMPL_IF --></select>
<!-- TMPL_IF NAME="ms_value" -->
- <input type="text" name="q" value="<!-- TMPL_VAR NAME="ms_value" -->"
class="left" style="width: 35%; font-size: 111%;" />
+ <input type="text" name="q" value="<!-- TMPL_VAR ESCAPE="HTML"
NAME="ms_value" -->" class="left" style="width: 35%; font-size: 111%;" />
<!-- TMPL_ELSE -->
<input type="text" name="q" class="left" style="width: 35%; font-size:
111%;" />
<!-- /TMPL_IF -->
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags_subject.tmpl
b/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags_subject.tmpl
index c529496..beb673e 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags_subject.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags_subject.tmpl
@@ -21,7 +21,7 @@
</fieldset>
<!-- TMPL_LOOP name="LOOP" -->
- <a href="/cgi-bin/koha/opac-search.pl?q=su:<!-- TMPL_VAR
name="entry" ESCAPE="HTML" -->" style="font-size:<!-- TMPL_VAR name="weight"
-->px;"><!-- TMPL_VAR name="entry" --></a>
+ <a href="/cgi-bin/koha/opac-search.pl?idx=su&q="<!-- TMPL_VAR
name="entry" ESCAPE="HTML" -->"" style="font-size:<!-- TMPL_VAR
name="weight" -->px;"><!-- TMPL_VAR name="entry" --></a>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
<p>Note: This feature only available to French catalogs
where ISBD subjects have been populated, and an index built by separate
script.</p>
--
1.5.6.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches