From ed4941ad5eefa9c5ac217bcb7663724a94b0b42e 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 --- 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 f812038..7829ad9 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.8.1