From 6e9903423e4e9e62db1763e18b06c7fbc4e8b7a4 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. Signed-off-by: Hammat Wele Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- .../en/modules/cataloguing/z3950_search.tt | 240 +++++++++--------- 1 file changed, 121 insertions(+), 119 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..b1c5cbcfc2 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 %]
  • +
    +

    + 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 %] -
    -
    - [% END %] +
+
+ [% END %] - [% IF ( breeding_loop ) %] - - - - - - - - - - - [% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %] - - [% 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 %] -
+ [% 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 %] +
+
+ - -
+
-