Fix for Bug 4093, OPAC Suggestions List has extra column
- This code was added to opac-suggestions.pl at one point by Garry Collum and was subsequently removed. Adding it back. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
7b1a3d1ae8
commit
a8564dbcf1
|
|
@ -103,6 +103,15 @@ foreach my $support(@$supportlist){
|
|||
delete $$support{'imageurl'}
|
||||
}
|
||||
}
|
||||
|
||||
foreach my $suggestion(@$suggestions_loop) {
|
||||
if($suggestion->{'suggestedby'} == $borrowernumber) {
|
||||
$suggestion->{'showcheckbox'} = $borrowernumber;
|
||||
} else {
|
||||
$suggestion->{'showcheckbox'} = 0;
|
||||
}
|
||||
}
|
||||
|
||||
$template->param(
|
||||
%$suggestion,
|
||||
itemtypeloop=> $supportlist,
|
||||
|
|
|
|||
Loading…
Reference in New Issue