Lines 44-50
use Koha::Holds;
Link Here
|
44 |
use Koha::ItemTypes; |
44 |
use Koha::ItemTypes; |
45 |
use Koha::Items; |
45 |
use Koha::Items; |
46 |
use Koha::Libraries; |
46 |
use Koha::Libraries; |
47 |
use Koha::Old::Holds; |
|
|
48 |
use Koha::Patrons; |
47 |
use Koha::Patrons; |
49 |
use Koha::Plugins; |
48 |
use Koha::Plugins; |
50 |
use Koha::Policy::Holds; |
49 |
use Koha::Policy::Holds; |
Lines 1602-1607
sub _FixPriority {
Link Here
|
1602 |
$hold = Koha::Holds->find( $reserve_id ); |
1601 |
$hold = Koha::Holds->find( $reserve_id ); |
1603 |
if (!defined $hold){ |
1602 |
if (!defined $hold){ |
1604 |
# may have already been checked out and hold fulfilled |
1603 |
# may have already been checked out and hold fulfilled |
|
|
1604 |
require Koha::Old::Holds; |
1605 |
$hold = Koha::Old::Holds->find( $reserve_id ); |
1605 |
$hold = Koha::Old::Holds->find( $reserve_id ); |
1606 |
} |
1606 |
} |
1607 |
return unless $hold; |
1607 |
return unless $hold; |