[Koha-bugs] [Bug 7337] "Debarred Until" display in the opac tells patrons they are debarred until the year 9999
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 8 18:49:26 CET 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7337
--- Comment #6 from Liz Rea <wizzyrea at gmail.com> 2011-12-08 17:49:26 UTC ---
Created attachment 6674
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6674
[Signed off] Bug 7337 - "Debarred Until" display in the opac tells patrons they
are debarred until the year 9999
This patch copies the debarred handling method from circulation.pl for
use on opac-user.pl so that debarred dates and comments can be handled
properly.
I have slightly reworded the message in the OPAC and on circulation.pl
to make the display of the debarred comment a little clearer.
Revision adds missing handling of debarred status with regard to
renewal operations. Renew links and buttons were not being hidden
from debarred users.
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Renewal buttons are gone, message looks good.
liz at koha-deb:~/kohaclone$ prove xt
xt/permissions.t .. ok
xt/tt_valid.t ..... ok
All tests successful.
Files=2, Tests=27, 9 wallclock secs ( 0.05 usr 0.01 sys + 8.28 cusr 0.08
csys = 8.42 CPU)
Result: PASS
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list