Summary: | Add a method for checking OpacHiddenItems exceptions in Koha::Patron::Category | ||
---|---|---|---|
Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Component: | Architecture, internals, and plumbing | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Status: | CLOSED FIXED | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | martin.renvoize, nick |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
19.05.00
|
|
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 22457, 22696 | ||
Attachments: |
Bug 22694: Unit tests
Bug 22694: Add Koha::Patron::Category->override_hidden_items Bug 22694: Unit tests Bug 22694: Add Koha::Patron::Category->override_hidden_items Bug 22694: Unit tests Bug 22694: Add Koha::Patron::Category->override_hidden_items |
Description
Tomás Cohen Arazi (tcohen)
2019-04-12 13:07:34 UTC
Created attachment 87908 [details] [review] Bug 22694: Unit tests Created attachment 87909 [details] [review] Bug 22694: Add Koha::Patron::Category->override_hidden_items This patch introduces a method to determine for a given category if patrons belonging to it override OpacHiddenItems policies. To test: - Apply the patches - Run: $ kshell k$ prove t/db_dependent/Koha/Patron/Category.t => SUCCESS: Tests pass! - Sign off :-D Created attachment 88509 [details] [review] Bug 22694: Unit tests Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Created attachment 88510 [details] [review] Bug 22694: Add Koha::Patron::Category->override_hidden_items This patch introduces a method to determine for a given category if patrons belonging to it override OpacHiddenItems policies. To test: - Apply the patches - Run: $ kshell k$ prove t/db_dependent/Koha/Patron/Category.t => SUCCESS: Tests pass! - Sign off :-D Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Simple to test, works as expected and makes sense. Signing Off Created attachment 88513 [details] [review] Bug 22694: Unit tests Signed-off-by: Bin Wen <bin.wen@inlibro.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Created attachment 88514 [details] [review] Bug 22694: Add Koha::Patron::Category->override_hidden_items This patch introduces a method to determine for a given category if patrons belonging to it override OpacHiddenItems policies. To test: - Apply the patches - Run: $ kshell k$ prove t/db_dependent/Koha/Patron/Category.t => SUCCESS: Tests pass! - Sign off :-D Signed-off-by: Bin Wen <bin.wen@inlibro.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Switching my SO to a PQA and grabbing an SO from Bin Wen as he must have tested this as part of SO on bug 22696. Awesome work all! Pushed to master for 19.05 Enhancement will not be backported to 18.11.x series. |