[Koha-patches] [PATCH] [3.0.x] (bug #2863) add the borrowers branchcodes in suggestion list

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Fri Dec 12 17:47:25 CET 2008


Not a big patch, just add the borrower branchcode.
---
 C4/Suggestions.pm                                  |    1 +
 .../prog/en/modules/suggestion/acceptorreject.tmpl |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm
index 82eef06..f4fac3e 100644
--- a/C4/Suggestions.pm
+++ b/C4/Suggestions.pm
@@ -92,6 +92,7 @@ sub SearchSuggestion  {
         U1.surname   AS surnamesuggestedby,
         U1.firstname AS firstnamesuggestedby,
         U1.borrowernumber AS borrnumsuggestedby,
+        U1.branchcode AS branchcode,
         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 6ecaf04..ae4ed2d 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/acceptorreject.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/acceptorreject.tmpl
@@ -157,6 +157,7 @@
                     <!-- TMPL_VAR name="surnamesuggestedby" -->
                     <!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF -->
                     <!-- TMPL_VAR name="firstnamesuggestedby" -->
+                    (<!-- TMPL_VAR name="branchcode" -->)
                 </td>
                 <td>
                     <!-- TMPL_VAR name="date" -->
-- 
1.5.6.3




More information about the Koha-patches mailing list