From 1692d597e29a9b53c4979b2eb48e18f31c01c6e5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 5 Jan 2016 15:41:36 +0000 Subject: [PATCH] Bug 15398: Hide Staff members only in the patron deletion/anonymization tool MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit On bug 9076 (commit 568a4c1230ee9a4002181fcab2c083faf6c323a9), the plan was to hide the Staff members from the tool. But the test was wrong, it was done on the category_code instead of the category_type value. Test plan: 1/ Create a category 'Student' which is not part of the Staff (category_code=S, category_type!=S) 2/ Create a staff category (category_type=S) 3/ Go on the deletion/anonymization tool (tools/cleanborrowers.pl) and confirm that the category Student category is displayed in the dropdown list. Signed-off-by: Bernardo Gonzalez Kriegel Work as described, no errors. Signed-off-by: Kyle M Hall http://bugs.koha-community.org/show_bug.cgi?id=15308 Signed-off-by: Brendan A Gallagher (cherry picked from commit 6f0cdee69b670f1c49693198e335deb26470d961) Signed-off-by: Julian Maurice (cherry picked from commit 5349313187dbea4804b7d0e28db7ad16827afbe5) Signed-off-by: Frédéric Demians --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt index 7de765206a..e7fdcfc14d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt @@ -82,7 +82,7 @@