From 779e8a0721f8d7aed1431067e6a72b7db5e0f615 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 26 Feb 2018 11:43:43 +0100 Subject: [PATCH] Bug 20075: Replace hidden -5 by 1 in data and interface Content-Type: text/plain; charset=utf-8 In the preceding patches we chose for 1 instead of -5. The interface should move that direction too obviously. Test plan: Test toggling between Show all and Hide all in the auth frameworks. Run the db rev. --- installer/data/mysql/atomicupdate/bug_20075.sql | 6 ++++++ .../intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 installer/data/mysql/atomicupdate/bug_20075.sql diff --git a/installer/data/mysql/atomicupdate/bug_20075.sql b/installer/data/mysql/atomicupdate/bug_20075.sql new file mode 100644 index 0000000..b98d452 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_20075.sql @@ -0,0 +1,6 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + $dbh->do(q|UPDATE auth_subfield_structure SET hidden=1 WHERE hidden<>0|); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 20075: Change authority hidden attribute)\n"; +} diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt index b7a6ab2..3101ae7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt @@ -112,11 +112,11 @@ -- 2.1.4