return Koha::Patron::Categories->search($params);
}
sub limited {
my ( $self, $params ) = @_;
return Koha::Patron::Categories->search_with_library_limits($params);
sub GetName {
my ( $self, $categorycode ) = @_;
[% INCLUDE 'blocking_errors.inc' %]
[% USE Categories %]
[% USE Koha %]
[% SET categories = Categories.all %]
[% SET categories = Categories.limited %]
[% UNLESS ( no_add ) %]
<div id="toolbar" class="btn-toolbar">
-