Lines 90-95
if ( $patron->category->effective_BlockExpiredPatronOpacActions ) {
Link Here
|
90 |
# cannot reserve, their card has expired and the rules set mean this is not allowed |
90 |
# cannot reserve, their card has expired and the rules set mean this is not allowed |
91 |
$template->param( message => 1, expired_patron => 1 ); |
91 |
$template->param( message => 1, expired_patron => 1 ); |
92 |
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; |
92 |
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; |
|
|
93 |
exit; |
93 |
} |
94 |
} |
94 |
} |
95 |
} |
95 |
|
96 |
|
Lines 116-121
if (! $biblionumbers) {
Link Here
|
116 |
if ((! $biblionumbers) && (! $query->param('place_reserve'))) { |
117 |
if ((! $biblionumbers) && (! $query->param('place_reserve'))) { |
117 |
$template->param(message=>1, no_biblionumber=>1); |
118 |
$template->param(message=>1, no_biblionumber=>1); |
118 |
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; |
119 |
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; |
|
|
120 |
exit; |
119 |
} |
121 |
} |
120 |
|
122 |
|
121 |
# Pass the numbers to the page so they can be fed back |
123 |
# Pass the numbers to the page so they can be fed back |
Lines 128-133
if (($#biblionumbers < 0) && (! $query->param('place_reserve'))) {
Link Here
|
128 |
# TODO: New message? |
130 |
# TODO: New message? |
129 |
$template->param(message=>1, no_biblionumber=>1); |
131 |
$template->param(message=>1, no_biblionumber=>1); |
130 |
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; |
132 |
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; |
|
|
133 |
exit; |
131 |
} |
134 |
} |
132 |
|
135 |
|
133 |
|
136 |
|
Lines 220-225
if ( $query->param('place_reserve') ) {
Link Here
|
220 |
if (($selectionCount == 0) || (($selectionCount % 3) != 0)) { |
223 |
if (($selectionCount == 0) || (($selectionCount % 3) != 0)) { |
221 |
$template->param(message=>1, bad_data=>1); |
224 |
$template->param(message=>1, bad_data=>1); |
222 |
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; |
225 |
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; |
|
|
226 |
exit; |
223 |
} |
227 |
} |
224 |
|
228 |
|
225 |
my $failed_holds = 0; |
229 |
my $failed_holds = 0; |
Lines 408-413
foreach my $biblioNum (@biblionumbers) {
Link Here
|
408 |
if (! $biblioData) { |
412 |
if (! $biblioData) { |
409 |
$template->param(message=>1, bad_biblionumber=>$biblioNum); |
413 |
$template->param(message=>1, bad_biblionumber=>$biblioNum); |
410 |
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; |
414 |
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; |
|
|
415 |
exit; |
411 |
} |
416 |
} |
412 |
|
417 |
|
413 |
my @not_available_at = (); |
418 |
my @not_available_at = (); |
414 |
- |
|
|