From 365520159fa9ea209eeccf307a4cf573d3c618c0 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 28 Aug 2008 17:48:13 +0200 Subject: [PATCH] modification to show the library and not the username of the person at OPAC. Signed-off-by: Galen Charlton --- C4/Suggestions.pm | 2 ++ koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm index 82eef06b5b..ac358d9b28 100644 --- a/C4/Suggestions.pm +++ b/C4/Suggestions.pm @@ -89,6 +89,7 @@ sub SearchSuggestion { my $dbh = C4::Context->dbh; my $query = " SELECT suggestions.*, + U1.branchcode AS branchcodesuggestedby, U1.surname AS surnamesuggestedby, U1.firstname AS firstnamesuggestedby, U1.borrowernumber AS borrnumsuggestedby, @@ -223,6 +224,7 @@ sub GetSuggestionByStatus { my $query = qq(SELECT suggestions.*, U1.surname AS surnamesuggestedby, U1.firstname AS firstnamesuggestedby, + U1.branchcode AS branchcodesuggestedby, U1.borrowernumber AS borrnumsuggestedby, U2.surname AS surnamemanagedby, U2.firstname AS firstnamemanagedby, diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl index aa6712448d..83111ba184 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tmpl @@ -88,7 +88,7 @@ $.tablesorter.addParser({ Suggested by: - @@ -109,7 +109,7 @@ $.tablesorter.addParser({   Summary Note - Suggested by + Suggested For Managed by Status @@ -129,7 +129,7 @@ $.tablesorter.addParser({ - ,   +   ,   -- 2.39.2