Bug 17005: Fix bad rebase
authorJosef Moravec <josef.moravec@gmail.com>
Wed, 3 Jul 2019 19:58:20 +0000 (19:58 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 8 Oct 2019 13:33:40 +0000 (14:33 +0100)
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha/REST/V1/Checkouts.pm

index aa48d14..b3a0699 100644 (file)
@@ -51,7 +51,7 @@ sub list {
         if ( $checked_in ) {
             $checkouts_set = Koha::Old::Checkouts->new;
         } else {
-            my $checkouts_set = Koha::Checkouts->new;
+            $checkouts_set = Koha::Checkouts->new;
         }
         my $checkouts = $c->objects->search( $checkouts_set, \&_to_model, \&_to_api );
         return $c->render( status => 200, openapi => $checkouts );