Lines 52-58
my $non_priority = $input->param('non_priority');
Link Here
|
52 |
my $op = $input->param('op') || q{}; |
52 |
my $op = $input->param('op') || q{}; |
53 |
my $multi_holds = $input->param('multi_holds'); |
53 |
my $multi_holds = $input->param('multi_holds'); |
54 |
my $hold_group_param = $input->param('hold_group') || undef; |
54 |
my $hold_group_param = $input->param('hold_group') || undef; |
55 |
my $hold_group; |
|
|
56 |
|
55 |
|
57 |
my $patron = Koha::Patrons->find($borrowernumber); |
56 |
my $patron = Koha::Patrons->find($borrowernumber); |
58 |
|
57 |
|
Lines 107-113
if ( $op eq 'cud-placerequest' && $patron ) {
Link Here
|
107 |
found => undef, |
106 |
found => undef, |
108 |
itemtype => $itemtype, |
107 |
itemtype => $itemtype, |
109 |
non_priority => $non_priority, |
108 |
non_priority => $non_priority, |
110 |
hold_group_id => $hold_group ? $hold_group->id : undef, |
|
|
111 |
} |
109 |
} |
112 |
); |
110 |
); |
113 |
|
111 |
|
Lines 137-143
if ( $op eq 'cud-placerequest' && $patron ) {
Link Here
|
137 |
found => undef, |
135 |
found => undef, |
138 |
itemtype => $itemtype, |
136 |
itemtype => $itemtype, |
139 |
non_priority => $non_priority, |
137 |
non_priority => $non_priority, |
140 |
hold_group_id => $hold_group ? $hold_group->id : undef, |
|
|
141 |
} |
138 |
} |
142 |
); |
139 |
); |
143 |
push @successful_hold_ids, $reserve_id; |
140 |
push @successful_hold_ids, $reserve_id; |
Lines 162-168
if ( $op eq 'cud-placerequest' && $patron ) {
Link Here
|
162 |
itemtype => $itemtype, |
159 |
itemtype => $itemtype, |
163 |
non_priority => $non_priority, |
160 |
non_priority => $non_priority, |
164 |
item_group_id => $item_group_id, |
161 |
item_group_id => $item_group_id, |
165 |
hold_group_id => $hold_group ? $hold_group->id : undef, |
|
|
166 |
} |
162 |
} |
167 |
); |
163 |
); |
168 |
push @successful_hold_ids, $reserve_id; |
164 |
push @successful_hold_ids, $reserve_id; |
169 |
- |
|
|