From 67f5e335d339ffa05dda7994aea801493bb91fe9 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 --- .../prog/en/includes/branch-selector.inc | 5 +- .../intranet-tmpl/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 f3aa11a..cd5760c 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 5362fa9..cf41e5f 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.8.1