From 610dbfb5dd97fc4f20c6a52696f8f94e03a36312 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 19 Sep 2016 10:55:12 +0100 Subject: [PATCH] Bug 17216: Do not display branches, itemtypes and cn_source Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher --- admin/authorised_values.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index f8120382c8..7829ad9d9d 100755 --- a/admin/authorised_values.pl +++ b/admin/authorised_values.pl @@ -208,7 +208,7 @@ $template->param( if ( $op eq 'list' ) { # build categories list - my @categories = Koha::AuthorisedValueCategories->search({}, { order_by => ['category_name'] } ); + my @categories = Koha::AuthorisedValueCategories->search({ category_name => { -not_in => ['branches', 'itemtypes', 'cn_source']}}, { order_by => ['category_name'] } ); my @category_list; for my $category ( @categories ) { push( @category_list, $category->category_name ); -- 2.39.5