Bugzilla – Attachment 30820 Details for
Bug 1561
Show search terms in z39.50 results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 1561 - z39.50 results do not show search terms
PASSED-QA-Bug-1561---z3950-results-do-not-show-sea.patch (text/plain), 3.27 KB, created by
Katrin Fischer
on 2014-08-15 09:39:19 UTC
(
hide
)
Description:
[PASSED QA] Bug 1561 - z39.50 results do not show search terms
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-08-15 09:39:19 UTC
Size:
3.27 KB
patch
obsolete
>From d0979e49c44a2c3aef492b8f368456708c3945da Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 29 Jul 2014 00:21:17 +0200 >Subject: [PATCH] [PASSED QA] 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. >--- > .../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 37b03dc..66a7e12 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 %] > <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 %] > > >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 1561
:
30675
|
30677
|
30819
| 30820 |
31045