[Koha-bugs] [Bug 25019] Non standard initialization in ViewPolicy filter
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 30 14:44:02 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25019
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 102081
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102081&action=edit
Bug 25019: Make the ViewPolicy filter initialization standard
This patch makes the ViewPolicy filter use the 'params' accessor instead
of relying of ->{options} which has no accessor. This will allow
interacting with the filter object be similar through all the filters in
the chain.
To test, we just need to verify no behaviour change takes place:
1. Run:
$ kshell
k$ prove t/db_dependent/Filter_MARC_ViewPolicy.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests still pass!
4. Sign off :-D
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list