Bugzilla – Attachment 47258 Details for
Bug 14244
viewing a bib item's circ history requires circulation permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14244: Does not display patron's info in the checkout history if not authorised
Bug-14244-Does-not-display-patrons-info-in-the-che.patch (text/plain), 2.21 KB, created by
Marc Véron
on 2016-01-25 14:26:28 UTC
(
hide
)
Description:
Bug 14244: Does not display patron's info in the checkout history if not authorised
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-01-25 14:26:28 UTC
Size:
2.21 KB
patch
obsolete
>From 92875409d5e6ffa3980cf1ed64ed4620f1b53aa2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 25 Jan 2016 10:31:34 +0000 >Subject: [PATCH] Bug 14244: Does not display patron's info in the checkout > history if not authorised >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The librarian needs CAN_user_circulate_circulate_remaining_permissions >to see the checkouts patron's information. > >Test plan: >The "Patron" column of the checkout history page should only be >displayed of you have the circulate > circulate_remaining_permissions >permission. > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > .../intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >index 89531f4..e722482 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >@@ -38,7 +38,8 @@ $(document).ready(function() { > <h4>Checked out [% total %] times</h4> > <table id="table_issues"> > <thead><tr> >- [% IF Koha.Preference('intranetreadinghistory') %] >+ [% IF Koha.Preference('intranetreadinghistory') >+ AND CAN_user_circulate_circulate_remaining_permissions %] > <th>Patron</th> > [% END %] > <th>Barcode</th> >@@ -51,7 +52,8 @@ $(document).ready(function() { > <tbody> > [% FOREACH issue IN issues %] > <tr> >- [% IF Koha.Preference('intranetreadinghistory') %] >+ [% IF Koha.Preference('intranetreadinghistory') >+ AND CAN_user_circulate_circulate_remaining_permissions %] > <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issue.borrowernumber %]">[% IF HidePatronName %][% issue.cardnumber %][% ELSE %][% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %][% END %]</a></td> > [% END %] > <td>[% IF ( issue.barcode ) %] >-- >1.7.10.4
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 14244
:
42622
|
43441
|
43495
|
47245
|
47257
|
47258
|
47694
|
47695