|
Lines 79-84
while ( my $h = $holds_rs->next() ) {
Link Here
|
| 79 |
$itemtype_limit = $itemtype->{translated_description}; |
79 |
$itemtype_limit = $itemtype->{translated_description}; |
| 80 |
} |
80 |
} |
| 81 |
|
81 |
|
|
|
82 |
my $libraries = Koha::Libraries->search({}, { order_by => ['branchname'] })->unblessed; |
| 83 |
for my $library ( @$libraries ) { |
| 84 |
$library->{selected} = 1 if $library->{branchcode} eq $h->branchcode(); |
| 85 |
} |
| 82 |
my $hold = { |
86 |
my $hold = { |
| 83 |
DT_RowId => $h->reserve_id(), |
87 |
DT_RowId => $h->reserve_id(), |
| 84 |
biblionumber => $biblionumber, |
88 |
biblionumber => $biblionumber, |
|
Lines 86-92
while ( my $h = $holds_rs->next() ) {
Link Here
|
| 86 |
author => $h->biblio()->author(), |
90 |
author => $h->biblio()->author(), |
| 87 |
reserve_id => $h->reserve_id(), |
91 |
reserve_id => $h->reserve_id(), |
| 88 |
branchcode => $h->branch()->branchname(), |
92 |
branchcode => $h->branch()->branchname(), |
| 89 |
branches => GetBranchesLoop($h->branch()->branchcode()), |
93 |
branches => $libraries, |
| 90 |
reservedate => $h->reservedate(), |
94 |
reservedate => $h->reservedate(), |
| 91 |
expirationdate => $h->expirationdate(), |
95 |
expirationdate => $h->expirationdate(), |
| 92 |
suspend => $h->suspend(), |
96 |
suspend => $h->suspend(), |
| 93 |
- |
|
|