Lines 524-530
my $no_add;
Link Here
|
524 |
foreach my $category_type (qw(C A S P I X)) { |
524 |
foreach my $category_type (qw(C A S P I X)) { |
525 |
my $patron_categories = Koha::Patron::Categories->search_limited({ category_type => $category_type }, {order_by => ['categorycode']}); |
525 |
my $patron_categories = Koha::Patron::Categories->search_limited({ category_type => $category_type }, {order_by => ['categorycode']}); |
526 |
$no_categories = 0 if $patron_categories->count > 0; |
526 |
$no_categories = 0 if $patron_categories->count > 0; |
527 |
$template->param( 'catcode' => $patron_categories->next ) if $patron_categories->count == 1; |
|
|
528 |
|
527 |
|
529 |
my @categoryloop; |
528 |
my @categoryloop; |
530 |
while ( my $patron_category = $patron_categories->next ) { |
529 |
while ( my $patron_category = $patron_categories->next ) { |
531 |
- |
|
|