From 97939b3a6bd0edef11e45e4992d1380beb49e849 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Tue, 29 Jul 2014 00:21:17 +0200 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer 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 --- .../prog/en/modules/cataloguing/z3950_search.tt | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index 37b03dcd73..66a7e12b27 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -148,6 +148,19 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% ELSE %]

Results

+

You searched for: + [% IF ( title ) %]Title: [% title %] [% END %] + [% IF ( author ) %]Author: [% author %] [% END %] + [% IF ( isbn ) %]ISBN: [% isbn %] [% END %] + [% IF ( issn ) %]ISSN: [% issn %] [% END %] + [% IF ( lccall ) %]LC call number: [% lccall %] [% END %] + [% IF ( subject ) %]Subject heading: [% subject %] [% END %] + [% IF ( controlnumber ) %]Control no: [% controlnumber %] [% END %] + [% IF ( dewey ) %]Dewey: [% dewey %] [%END %] + [% IF ( srchany ) %]Raw (any): [% srchany %] [% END %] + [% IF ( stdid ) %]Standard ID: [% stdid %] [% END %] +

+ [% IF ( breeding_loop ) %] @@ -222,8 +235,8 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% END %] -
Nothing found.
-

+

Nothing found

+

[% END %] -- 2.39.5