[Koha-bugs] [Bug 18743] Filter suggestion lists correctly for IndependentBranches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 19 20:06:39 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18743

--- Comment #6 from David Bourgault <david.bourgault at inlibro.com> ---
Created attachment 68298
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68298&action=edit
Bug 18743 - ALTERNATE: Take IndependantBranches syspref into account

---
THIS IS AN ALTERNATE PATCH
I am submitting it here, because it covers less than Alex's patch, but does so
in a simpler fashion.
APPLY ONLY THIS PATCH, OR THE OTHER, NOT BOTH.
---

Displays suggestions for all libraries when IndependantBranches is set to no,
or user is Super librarian by adding a missing if statement.

TEST PLAN
[0] Apply patch
[1] Set IndependentBranches to 'Yes'.
[2] Create a suggestion with a user from branch A.
[3] As a superlibrarian, visit the suggestion page, you should see the
suggestion.
[4] As staff from branch A, visit the sugg. page, you should see the
suggestion.
[5] As staff from branch B, visit the sugg. pase, you should NOT see the
suggestion.
[6] Set IndependentBranches to 'No'.
[7] Redo step 3-5. You should always see the suggestion.
[8] Sign-off.
[9] Have fun.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list