From a4b1093b5c4756350af56825c05b96206ce869d7 Mon Sep 17 00:00:00 2001 From: Andrew Auld Date: Tue, 22 Nov 2022 13:56:22 +0000 Subject: [PATCH] Bug 32299: Add page-section to Z39.50 results Test plan Step 1: Navigate to Cataloguing module and click 'New from Z39.50/SRU' to start a search Step 2: Carry out a search Step 3: Confirm that the white background to the table of results is missing Step 4: Apply patch Step 6: Repeat search Step 7: Confirm that the white background is now showing. --- .../en/modules/cataloguing/z3950_search.tt | 252 +++++++++--------- 1 file changed, 127 insertions(+), 125 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 458b7b07e6..b601a823a8 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 @@ -118,137 +118,139 @@

Results

-

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

- [% IF ( errconn ) %] -
-
    - [% FOREACH errcon IN errconn %] - [% IF ( errcon.error == '10000' ) %]
  • Connection failed to [% errcon.server | html %]
  • - [% ELSIF ( errcon.error == '10007' ) %]
  • Connection timeout to [% errcon.server | html %]
  • - [% ELSIF errcon.error.match( '^XSLTH' ) %]
  • [% errcon.server | html %] record [% errcon.seq | html %]: [% PROCESS 'xslt-handler.inc' code=errcon.error %]
  • - [% ELSE %]
  • [% errcon.server | html %] record [% errcon.seq | html %]: [% errcon.error | html %]
  • - [% END %] - [% END %] -
-
- [% END %] - - [% IF ( breeding_loop ) %] - - - - - - - - - - - [% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %] - +
+

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

+ [% IF ( errconn ) %] +
+
    + [% FOREACH errcon IN errconn %] + [% IF ( errcon.error == '10000' ) %]
  • Connection failed to [% errcon.server | html %]
  • + [% ELSIF ( errcon.error == '10007' ) %]
  • Connection timeout to [% errcon.server | html %]
  • + [% ELSIF errcon.error.match( '^XSLTH' ) %]
  • [% errcon.server | html %] record [% errcon.seq | html %]: [% PROCESS 'xslt-handler.inc' code=errcon.error %]
  • + [% ELSE %]
  • [% errcon.server | html %] record [% errcon.seq | html %]: [% errcon.error | html %]
  • [% END %] -
- - - - [% FOREACH breeding_loo IN breeding_loop %] - [% IF ( breeding_loo.breedingid ) %] - - - - - - - - - [% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %] - +
ServerTitleAuthorYearEditionISBNLCCNAdditional fieldsActions
[% breeding_loo.server | html %][% breeding_loo.title | html %][% breeding_loo.author | html %][% breeding_loo.date | html %][% breeding_loo.edition | html %][% breeding_loo.isbn | html %][% breeding_loo.lccn | html %] -
- [% FOREACH addnumberfield IN breeding_loo.addnumberfields %] - [% FOREACH string IN breeding_loo.$addnumberfield %] -
[% addnumberfield | html %]:
-
[% string | html %]
- [% END %] - [% END %] -
+ [% END %] + + + [% END %] + + [% IF ( breeding_loop ) %] + + + + + + + + + + + [% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %] + + [% END %] + + + + + [% FOREACH breeding_loo IN breeding_loop %] + [% IF ( breeding_loo.breedingid ) %] + + + + + + + + + [% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %] + + [% END %] + - [% END %] - - + + [% END %] [% END %] - [% END %] - -
ServerTitleAuthorYearEditionISBNLCCNAdditional fieldsActions
[% breeding_loo.server | html %][% breeding_loo.title | html %][% breeding_loo.author | html %][% breeding_loo.date | html %][% breeding_loo.edition | html %][% breeding_loo.isbn | html %][% breeding_loo.lccn | html %] +
+ [% FOREACH addnumberfield IN breeding_loo.addnumberfields %] + [% FOREACH string IN breeding_loo.$addnumberfield %] +
[% addnumberfield | html %]:
+
[% string | html %]
+ [% END %] + [% END %] +
+
+ - -
- -
+ + -
- -
- - - - - - - - - - - - - - - - [% FOREACH server IN servers %] - - [% END %] - - [% IF ( show_prevbutton ) %] - - [% END %] - Showing page [% current_page | html %] of [% total_pages | html %] - [% IF ( show_nextbutton ) %] - - [% END %] -
Go to page : -
- - [% ELSE %] -
Nothing found.
- [% END # /IF breeding_loop %] + +
+ + + + + + + + + + + + + + + + [% FOREACH server IN servers %] + + [% END %] + + [% IF ( show_prevbutton ) %] + + [% END %] + Showing page [% current_page | html %] of [% total_pages | html %] + [% IF ( show_nextbutton ) %] + + [% END %] +
Go to page : +
+ + [% ELSE %] +
Nothing found.
+ [% END # /IF breeding_loop %] +

-- 2.20.1