Bug 17216: Do no display the empty string category name
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
parent
610dbfb5dd
commit
5d0dbcaabe
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ $template->param(
|
|||
|
||||
if ( $op eq 'list' ) {
|
||||
# build categories list
|
||||
my @categories = Koha::AuthorisedValueCategories->search({ category_name => { -not_in => ['branches', 'itemtypes', 'cn_source']}}, { 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 );
|
||||
|
|
Loading…
Reference in a new issue