Bugzilla – Attachment 30677 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]
[SIGNED OFF] Bug 1561 - z39.50 results do not show search terms
SIGNED-OFF-Bug-1561---z3950-results-do-not-show-se.patch (text/plain), 3.09 KB, created by
Nick Clemens (kidclamp)
on 2014-08-11 03:10:19 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 1561 - z39.50 results do not show search terms
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2014-08-11 03:10:19 UTC
Size:
3.09 KB
patch
obsolete
>From 7f9cbc70b78b0bbb5cf6e065945db0ff0abff51b 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] [SIGNED OFF] 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> >--- > .../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..1ee630b 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.7.10.4
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