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 1637-1642
sub _FixPriority {
Link Here
|
1637 |
$hold = Koha::Holds->find( $reserve_id ); |
1636 |
$hold = Koha::Holds->find( $reserve_id ); |
1638 |
if (!defined $hold){ |
1637 |
if (!defined $hold){ |
1639 |
# may have already been checked out and hold fulfilled |
1638 |
# may have already been checked out and hold fulfilled |
|
|
1639 |
require Koha::Old::Holds; |
1640 |
$hold = Koha::Old::Holds->find( $reserve_id ); |
1640 |
$hold = Koha::Old::Holds->find( $reserve_id ); |
1641 |
} |
1641 |
} |
1642 |
return unless $hold; |
1642 |
return unless $hold; |