Bugzilla – Attachment 33133 Details for
Bug 13156
Display cardnumber of borrower who made a suggestion in suggestion.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13156 Display borrower's cardnumber who did a suggestion in suggestion.pl
Bug-13156-Display-borrowers-cardnumber-who-did-a-s.patch (text/plain), 3.40 KB, created by
Frédéric Demians
on 2014-11-02 17:47:03 UTC
(
hide
)
Description:
Bug 13156 Display borrower's cardnumber who did a suggestion in suggestion.pl
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2014-11-02 17:47:03 UTC
Size:
3.40 KB
patch
obsolete
>From 5900afc857f4718029bafc71803c8358313b0359 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Sun, 2 Nov 2014 18:53:47 +0100 >Subject: [PATCH] Bug 13156 Display borrower's cardnumber who did a suggestion > in suggestion.pl > >To avoid homonyms, it would be nice if the card number is displayed in the user >suggestion.pl. Currently, consult the record of the user to know exactly who >made the suggestion. > >TEST PLAN: Apply the patch. Go on suggestion.pl. Check that nothing has >changed, except that cardnumbers are displayed in 'Suggested by' column. >--- > C4/Suggestions.pm | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm >index b543293..a03a4cb 100644 >--- a/C4/Suggestions.pm >+++ b/C4/Suggestions.pm >@@ -100,6 +100,7 @@ sub SearchSuggestion { > B1.branchname AS branchnamesuggestedby, > U1.surname AS surnamesuggestedby, > U1.firstname AS firstnamesuggestedby, >+ U1.cardnumber AS cardnumbersuggestedby, > U1.email AS emailsuggestedby, > U1.borrowernumber AS borrnumsuggestedby, > U1.categorycode AS categorycodesuggestedby, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index e3096c3..972fa5c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -514,7 +514,7 @@ h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o > [% IF ( suggestions_loo.isbn ) %]; ISBN:<i>[% suggestions_loo.isbn |html %]</i> [% END %][% IF ( suggestions_loo.publishercode ) %]; Published by [% suggestions_loo.publishercode |html %] [% END %][% IF ( suggestions_loo.publicationyear ) %] in <i>[% suggestions_loo.publicationyear |html %]</i> [% END %][% IF ( suggestions_loo.place ) %] in <i>[% suggestions_loo.place |html %]</i> [% END %][% IF ( suggestions_loo.collectiontitle ) %]; [% suggestions_loo.collectiontitle |html %] [% END %][% IF ( suggestions_loo.itemtype ) %]; [% suggestions_loo.itemtype |html %] [% END %]<br />[% IF ( suggestions_loo.note ) %]<span class="note">[% suggestions_loo.note |html%]</span>[% END %] > </td> > <td> >- [% IF ( suggestions_loo.emailsuggestedby ) %]<a href="mailto:[% suggestions_loo.emailsuggestedby %]">[% END %][% suggestions_loo.surnamesuggestedby %][% IF ( suggestions_loo.firstnamesuggestedby ) %], [% suggestions_loo.firstnamesuggestedby %][% END %] [% IF ( suggestions_loo.emailsuggestedby ) %]</a>[% END %] >+ [% IF ( suggestions_loo.emailsuggestedby ) %]<a href="mailto:[% suggestions_loo.emailsuggestedby %]">[% END %][% suggestions_loo.surnamesuggestedby %][% IF ( suggestions_loo.firstnamesuggestedby ) %], [% suggestions_loo.firstnamesuggestedby %][% END %] [% IF (suggestions_loo.cardnumbersuggestedby ) %]([% suggestions_loo.cardnumbersuggestedby %])[% END %] [% IF ( suggestions_loo.emailsuggestedby ) %]</a>[% END %] > [% IF ( suggestions_loo.suggesteddate ) %] - [% suggestions_loo.suggesteddate %][% END %] > </td> > <td> >-- >2.1.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13156
:
33133
|
37777
|
38041