From c79930925decaea6a784543c0e5471d91962d2f3 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 25 May 2023 22:04:08 +0000 Subject: [PATCH] Bug 33748: Fix UI issue when importing records from a staged MARC file This patch attempts to fix a UI issue on addorderiso2709.tt. It removes the which contains the actoin buttons MARC, Card, and Add Order and adds them to the title line. This is so there is more space for the fieldsets. 1. Apply patch 2. Set MarcItemFieldsToOrder like this: homebranch: 975$a holdingbranch: 975$b itype: 975$y nonpublic_note: 975$x public_note: 975$z loc: 975$c ccode: 975$8 notforloan: 975$7 quantity: 975$q price: 975$g replacementprice: 975$v uri: 975$u 3. Stage a MARC file where the bibs have items attached 4. From acquisitions create a new basket and add 'From a staged file'. 5. Add the staged files to a basket. 6. Make sure the display looks correct. 7. Expand the data by clicking on the checkbox on the left hand side, or by clicking 'Select all'. 8. Make sure the display looks correct. 9. Tab over to 'Item informtion' and make sure that display looks correct. 10. Shrink the screen size down to less that 992px, ensuring the display remains correct. Signed-off-by: Barbara Johnson Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 06ba1ce7bfffd2f18da0d8a03edf0afb103220ae) Signed-off-by: Matt Blenkinsop --- .../prog/en/modules/acqui/addorderiso2709.tt | 37 +++++++++++++++---- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt index 04a9096731..d8d5b484f9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -10,7 +10,30 @@ Batch list [% END %] › Order staged MARC records › Acquisitions › Koha - + [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/addbiblio.css") | $raw %] [%# As long as cataloging plugins rely on 'script' tags added inline, JS must be in the header %] @@ -132,6 +155,11 @@ [%- END -%] + + MARC + Card + Add order +
  1. @@ -207,7 +235,7 @@
    [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %] [% FOREACH item IN biblio.iteminfos %] -
    +
    Item record [% item.item_id | html %]
    1. @@ -336,11 +364,6 @@ [% END %]
    - - MARC - Card - Add order - [% END # /FOREACH biblio %] -- 2.39.5