[Koha-patches] [PATCH] Fix for Bug 1877, Link to patron record from manage suggestions

Owen Leonard oleonard at myacpl.org
Tue Apr 21 22:19:42 CEST 2009


---
 C4/Suggestions.pm                                  |    2 +-
 .../prog/en/modules/suggestion/acceptorreject.tmpl |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm
index 88876d4..c358d7a 100644
--- a/C4/Suggestions.pm
+++ b/C4/Suggestions.pm
@@ -93,7 +93,7 @@ sub SearchSuggestion  {
         U1.surname   AS surnamesuggestedby,
         U1.firstname AS firstnamesuggestedby,
         U1.borrowernumber AS borrnumsuggestedby,
-        U1.branchcode AS branchcode,
+        U1.branchcode AS branchcodesuggestedby,
         U2.surname   AS surnamemanagedby,
         U2.firstname AS firstnamemanagedby,
         U2.borrowernumber AS borrnummanagedby
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/acceptorreject.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/acceptorreject.tmpl
index 638c5bc..ca54409 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/acceptorreject.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/acceptorreject.tmpl
@@ -152,10 +152,10 @@
                         <!-- TMPL_IF name="isbn" -->; ISBN :<i><!-- TMPL_VAR name="isbn" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="publishercode" -->; Published by <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF --><!-- TMPL_IF name="publicationyear" --> in <i><!-- TMPL_VAR name="publicationyear" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="place" --> in <i><!-- TMPL_VAR name="place" --></i> <!-- /TMPL_IF --><br /><!-- TMPL_IF name="note" --><!-- TMPL VAR NAME="note" --><!-- /TMPL_IF -->
                 </td>
                 <td>
-                    <!-- TMPL_VAR name="surnamesuggestedby" -->
+                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrnumsuggestedby" -->"><!-- TMPL_VAR name="surnamesuggestedby" -->
                     <!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF -->
-                    <!-- TMPL_VAR name="firstnamesuggestedby" -->
-                    (<!-- TMPL_VAR name="branchcode" -->)
+                    <!-- TMPL_VAR name="firstnamesuggestedby" --></a>
+                    (<!-- TMPL_VAR name="branchcodesuggestedby" -->)
                 </td>
                 <td>
                     <!-- TMPL_VAR name="date" -->
-- 
1.5.6.5




More information about the Koha-patches mailing list