Bug 1561 - z39.50 results do not show search terms
This patch adds a line with search terms results window of z39.50 search. To test: - In staff client, go to cataloging. - Click 'New from z39.50' - 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. Signed-off-by: Nick Clemens <nick@quecheelibrary.org> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Passes tests and QA script, fixed one tab. Something similar would be nice for the results in the Z39.50 search in acq as well. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
71ba269136
commit
97939b3a6b
|
|
@ -148,6 +148,19 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
|
|||
|
||||
[% ELSE %]
|
||||
<h2>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 %]
|
||||
[% IF ( srchany ) %]<em>Raw (any): </em><span class=term>[% srchany %]</span> [% END %]
|
||||
[% IF ( stdid ) %]<em>Standard ID: </em><span class=term>[% stdid %]</span> [% END %]
|
||||
</p>
|
||||
|
||||
[% IF ( breeding_loop ) %]
|
||||
<table id="resultst">
|
||||
<thead> <tr>
|
||||
|
|
@ -222,8 +235,8 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
|
|||
</ul>
|
||||
</div>
|
||||
[% END %]
|
||||
<div class="dialog message">Nothing found.</div>
|
||||
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode %]"/><input type="submit" value="Try Another Search"/></form></p>
|
||||
<div class="dialog message"><h3>Nothing found</h3>
|
||||
<p><form method="gut" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode %]"/><input type="submit" value="Try Another Search"/></form></p>
|
||||
[% END %]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue