Lines 173-179
if($findclub) {
Link Here
|
173 |
my @clubs = Koha::Clubs->search( [ |
173 |
my @clubs = Koha::Clubs->search( [ |
174 |
{ name => { like => '%'.$findclub.'%' } }, |
174 |
{ name => { like => '%'.$findclub.'%' } }, |
175 |
{ description => { like => '%'.$findclub.'%' } } |
175 |
{ description => { like => '%'.$findclub.'%' } } |
176 |
] ); |
176 |
] )->as_list; |
177 |
if( scalar @clubs == 1 ) { |
177 |
if( scalar @clubs == 1 ) { |
178 |
$club_hold = $clubs[0]->id; |
178 |
$club_hold = $clubs[0]->id; |
179 |
} elsif ( @clubs ) { |
179 |
} elsif ( @clubs ) { |
180 |
- |
|
|