---
opac/opac-suggestions.pl | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl
index e1535f5..deb9fe2 100755
--- a/opac/opac-suggestions.pl
+++ b/opac/opac-suggestions.pl
@@ -19,6 +19,7 @@ use strict;
require Exporter;
use CGI;
use C4::Auth; # get_template_and_user
+use C4::Branch;
use C4::Output;
use C4::Suggestions;
@@ -95,6 +96,7 @@ if ( $op eq "delete_confirm" ) {
my $suggestions_loop =
&SearchSuggestion( $borrowernumber, $author, $title, $publishercode, $status,
$suggestedbyme );
+map{
$_->{'branchcodesuggestedby'}=GetBranchInfo($_->{'branchcodesuggestedby'})->[0]->{'branchname'}}
@$suggestions_loop;
$template->param(
suggestions_loop => $suggestions_loop,
title => $title,
--
1.5.4.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches