From 06b9194cdd178f14347b8f9090657dbf5b712450 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 18 May 2016 19:45:27 -0400 Subject: [PATCH] Bug 16548 - All libraries selected on Tools -> Export Data screen This patch adds "select all" and "select none" links to the display of libraries in the export bibliographic records form. Also modified: call number range and accession date fields have been grouped in their own fieldsets in the hopes that this is more readable. Page title and breadcrumbs have been corrected to read "Export data" instead of "MARC export," matching menu items. To test, apply the patch and go to Tools -> Export data. - Test the select all/select none links and confirm that they work as expected. - Confirm that the structural changes to the form look okay. Signed-off-by: Nick Clemens Post sign-off revision: Use the standard "Clear all" instead of "Select none." Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher --- .../prog/en/includes/branch-selector.inc | 5 +- .../prog/en/modules/tools/export.tt | 69 +++++++++++++------ 2 files changed, 50 insertions(+), 24 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc index f3aa11a4f1..cd5760cf45 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc @@ -6,13 +6,14 @@ END; END %]
+

Select all | Clear all

[% FOREACH branch IN branches %]
[% IF branch.selected || (selectall == 1) %] - + [% ELSE %] - + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt index 5362fa9851..cf41e5fc24 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt @@ -1,5 +1,5 @@ [% INCLUDE 'doc-head-open.inc' %] -Koha › Tools › MARC export +Koha › Tools › Export data [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] + [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
@@ -52,7 +65,8 @@ $(document).ready(function() {
Select records to export -
  1. +
      +
    1. @@ -80,25 +94,36 @@ $(document).ready(function() { [% INCLUDE 'branch-selector.inc' branches = branchloop %] -
    2. - - -
    3. -
    4. - - -
    5. -
    6. Accession date (inclusive): -
      • - - -
      • -
      • - -
      • -
    +
+ +
+ Call number range +
    +
  1. + + +
  2. +
  3. + + +
  4. +
+
+ +
+ Accession date (inclusive) +
    +
  1. + + +
  2. +
  3. + + +
  4. +
+
+
-- 2.39.5