Bug 22688: TT plugin for pickup locations code wrong

Test Plan:
1) Apply this patch
2) prove t/db_dependent/Koha/Libraries.t

Signed-off-by: Agustín Moyano <agustinmoyano@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit ae18c4bb03)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Kyle M Hall 2019-04-11 09:52:29 -04:00 committed by Martin Renvoize
parent 14bec67add
commit d07bbd7c44
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 0 additions and 3 deletions

View File

@ -87,9 +87,6 @@ sub InIndependentBranchesMode {
sub pickup_locations {
my ( $self, $params ) = @_;
$params->{search_params} ||= {};
$params->{search_params}->{pickup_location} = 1;
return $self->all($params);
my $selected = $params->{selected};
my $libraries = Koha::Libraries->pickup_locations($params);