[Koha-patches] [PATCH] Bug 5917 : Fixing a bug in the results page

Chris Cormack chrisc at catalyst.net.nz
Wed Apr 13 23:17:50 CEST 2011


---
 .../prog/en/modules/catalogue/results.tt           |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
index f790fb6..8ed079c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
@@ -318,12 +318,12 @@ YAHOO.util.Event.onContentReady("searchheader", function () {
                         <label for="scan-index">Indexed in:</label>
                         <select name="idx" id="scan-index">
                             <option value="">Any Word</option>
-                            <option <!-- TMPL_IF NAME="ms_any,phr" --> selected="selected" [% END %] value="any,phr">Any Phrase</option>
+                            <option [% IF (ms_anycommaphr) %] selected="selected" [% END %] value="any,phr">Any Phrase</option>
                             <option [% IF ( ms_ti ) %] selected="selected" [% END %] value="ti">Title</option>
-                            <option <!-- TMPL_IF NAME="ms_ti,phr" --> selected="selected" [% END %] value="ti,phr">Title Phrase</option>
-                            <option <!-- TMPL_IF NAME="ms_au,phr" --> selected="selected" [% END %] value="au,phr">Author</option>
+                            <option [% IF (ms_ticommaphr) %] selected="selected" [% END %] value="ti,phr">Title Phrase</option>
+                            <option [% IF (ms_aucommaphr) %] selected="selected" [% END %] value="au,phr">Author</option>
                             <option [% IF ( ms_su ) %] selected="selected" [% END %] value="su">Subject</option>
-                            <option <!-- TMPL_IF NAME="ms_su,phr" --> selected="selected" [% END %] value="su,phr">Subject Phrase</option>
+                            <option [% IF (ms_sucommaphr) %] selected="selected" [% END %] value="su,phr">Subject Phrase</option>
                             <option [% IF ( ms_se ) %] selected="selected" [% END %] value="se">Series</option>
                             <option [% IF ( ms_pb ) %] selected="selected" [% END %] value="pb">Publisher</option>
                             <option [% IF ( ms_nt ) %] selected="selected" [% END %] value="nt">Notes</option>
-- 
1.5.6.5



More information about the Koha-patches mailing list