Lines 115-131
foreach my $suggestion(@$suggestions_loop) {
Link Here
|
115 |
} else { |
115 |
} else { |
116 |
$suggestion->{'showcheckbox'} = 0; |
116 |
$suggestion->{'showcheckbox'} = 0; |
117 |
} |
117 |
} |
|
|
118 |
if($suggestion->{'patronreason'}){ |
119 |
$suggestion->{'patronreason'} = GetKohaAuthorisedValueLib("OPAC_SUG",$suggestion->{'patronreason'},1); |
120 |
} |
118 |
} |
121 |
} |
119 |
|
122 |
|
|
|
123 |
my $patron_reason_loop = GetAuthorisedValues("OPAC_SUG"); |
124 |
|
120 |
$template->param( |
125 |
$template->param( |
121 |
%$suggestion, |
126 |
%$suggestion, |
122 |
itemtypeloop=> $supportlist, |
127 |
itemtypeloop=> $supportlist, |
123 |
suggestions_loop => $suggestions_loop, |
128 |
suggestions_loop => $suggestions_loop, |
|
|
129 |
patron_reason_loop => $patron_reason_loop, |
124 |
showall => $allsuggestions, |
130 |
showall => $allsuggestions, |
125 |
"op_$op" => 1, |
131 |
"op_$op" => 1, |
126 |
suggestionsview => 1, |
132 |
suggestionsview => 1, |
127 |
); |
133 |
); |
128 |
|
134 |
|
129 |
|
|
|
130 |
output_html_with_http_headers $input, $cookie, $template->output; |
135 |
output_html_with_http_headers $input, $cookie, $template->output; |
131 |
|
136 |
|