]> git.koha-community.org Git - koha.git/commit
Bug 10866: Hide patron's history if intranetreadinghistory is set to not allow
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 22 Apr 2015 10:14:24 +0000 (12:14 +0200)
committerLiz <wizzyrea@gmail.com>
Sun, 5 Jul 2015 02:23:55 +0000 (02:23 +0000)
commit6cefaa2ae4eb09f441c2a3576e0b9ba98aadfb17
tree9e7243140f58c41b818e979d3cf0daf11a5335ac
parent7b5f05e4777349718cce59fe612457d190a1c482
Bug 10866: Hide patron's history if intranetreadinghistory is set to not allow

If set to "not allow", the intranetreadinghistory pref prevent staff
members to access patron's checkout history.
But:
1/ The page is still accessible if you know the url
2/ The history can be consulted on the item history page

Test plan:
0/ Don't apply this patch
1/ Set the intranetreadinghistory to allow
2/ Go on a patron's checkout history page
3/ Open a new tab and go on a item's checkout history page
4/ Set the intranetreadinghistory to not allow
5/ Refresh both pages => no change
6/ Apply this patch
7/ Refresh both page.
On the first page, you should see a warning
On the other one, you should see that the patron column is not displayed
anymore.

Followed test plan, results were as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
http://bugs.koha-community.org/show_bug.cgi?id=10886
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Nice addition!
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit d847b1d92a9df6db2bb5321f032f3ec13d6ba55d)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Liz <wizzyrea@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt