[Koha-bugs] [Bug 12811] New: Patron 'Details' and 'Check out' pages not working properly for staff users which don't have renewal override permissions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Aug 23 16:28:10 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12811
Bug ID: 12811
Summary: Patron 'Details' and 'Check out' pages not working
properly for staff users which don't have renewal
override permissions
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Circulation
Assignee: koha-bugs at lists.koha-community.org
Reporter: abl at biblos.pk.edu.pl
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
In case when the staff user doesn't have (circulate) -> (override_renewals)
permission granted, this code part
var AllowRenewalLimitOverride = [% CAN_user_circulate_override_renewals &&
AllowRenewalLimitOverride %];
in circ/circulation.tt and members/moremember.tt leads to javascript error,
because TT statement evaluates to empty string.
To reproduce:
- set AllowRenewalLimitOverride syspref to "Don't allow" (this step is possibly
redundant / not quite relevant)
- for testing purposes, log in as some (sample) staff user whitch does not have
permission granted for "(override_renewals) Override blocked renewals"
- have a look at some patron accounts (preferably, ones with 1+ check-out),
observe that page layout is incorrect in "Check Out" and "Details" tab.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list