Bug 12835 - Acquisitions: Show search terms in z39.50 results
authorMarc Véron <veron@veron.ch>
Fri, 15 Aug 2014 04:28:07 +0000 (06:28 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 8 Sep 2014 13:55:45 +0000 (10:55 -0300)
To test:

- Go to Acquisitions, select a bookshop and a basket, click 'Add to basket':'From an external source'
- Do a search
- Your search terms should display at the top of the results page.
- Repeat search with several combinations of search terms (with and without results).

- Check the output for correct html.

Fields Raw (any) and Standard ID removed / MV

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes QA script, works as described, no problems found.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt

index 605dcb6..d646d52 100644 (file)
@@ -149,6 +149,18 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
 
 [% ELSE %]
     <h2>Search results</h2>
+
+    <p>You searched for:
+        [% IF ( title ) %]<em>Title: </em><span class=term>[% title %]</span> [% END %]
+        [% IF ( author ) %]<em>Author: </em><span class=term>[% author %]</span> [% END %]
+        [% IF ( isbn ) %]<em>ISBN: </em><span class=term>[% isbn %]</span> [% END %]
+        [% IF ( issn ) %]<em>ISSN: </em><span class=term>[% issn %]</span> [% END %]
+        [% IF ( lccall ) %]<em>LC call number: </em><span class=term>[% lccall %]</span> [% END %]
+        [% IF ( subject ) %]<em>Subject heading: </em><span class=term>[% subject %]</span> [% END %]
+        [% IF ( controlnumber ) %]<em>Control no: </em><span class=term>[% controlnumber %]</span> [% END %]
+        [% IF ( dewey ) %]<em>Dewey: </em><span class=term>[% dewey %]</span> [%END %]
+    </p>
+
     [% IF ( breeding_loop ) %]
     <table id="resultst">
 <thead>    <tr>