[Koha-bugs] [Bug 12048] Doesn't display other libraries subscriptions when superlibrarian user
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 14 18:01:08 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12048
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #27083|0 |1
is obsolete| |
--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 27098
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27098&action=edit
Bug 12048 - Doesn't display other libraries subscriptions when superlibrarian
user
This is a regression in master and 3.14. When a user has superlibrian
permissions, a search on serials subscriptions must display other libraries
subscriptions even when IndependentBranches syspref is enabled.
To reproduce/test the bug/patch:
1. Enable IndependentBranches (i.e. 'Prevent' staff...)
2. Login as a user not having superlibrarian permission
3. Search for a serial subscription on:
/cgi-bin/koha/serials/serials-search.pl
4. Search a title which has at least 2 subscriptions: one in the user branch,
and one in another branch
5. On the result page, just 1 subscription is displayed: the one attached to
the userbranch
=> this is normal
6. Login as a user having superlibrarian permission
7. Repeat step 3-5.
8. You get the same result as 5. You should have seen all subscriptions.
That's what you get after applying this patch.
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
NOTE: I tested a variation. My superlibrarian was a branch that
was not the same as the non-superlibrarian. The serial was
the same branch as the non-superlibrarian. Without the
patch, the superlibrarian saw nothing, with the patch it
saw the serial as expected.
Also, remember the superserials permission can affect the
results. I successfully changed the branch of the
subscription, and then it ceased to show up with
superserials not granted to the non-superlibrarian.
I corrected the system preference name in the text here.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list