Bug 31313: Fix holds_count and priority
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
01091c8089
commit
f433875363
1 changed files with 2 additions and 2 deletions
|
@ -682,8 +682,8 @@ if ( not $viewallitems and $items->count > $max_items_to_display ) {
|
|||
else {
|
||||
while ( my $item = $items->next ) {
|
||||
my $item_info = $item->unblessed;
|
||||
$item->{holds_count} = $item_reserves{ $item->itemnumber };
|
||||
$item->{priority} = $priority{ $item->itemnumber };
|
||||
$item_info->{holds_count} = $item_reserves{ $item->itemnumber };
|
||||
$item_info->{priority} = $priority{ $item->itemnumber };
|
||||
|
||||
$allow_onshelf_holds = Koha::CirculationRules->get_onshelfholds_policy(
|
||||
{ item => $item, patron => $patron } )
|
||||
|
|
Loading…
Reference in a new issue