]> git.koha-community.org Git - koha.git/commit
Bug 25008: Overload Koha::RecordProcessor->options to update filters
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 30 Mar 2020 13:06:43 +0000 (10:06 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 07:31:37 +0000 (08:31 +0100)
commit0004816118483dc132c98d27c417f1b59255441f
tree55c87df19fc9e2dd34f9e69146caf3500677136e
parent7bcfa8219739312f60eb2e36f642d7ac685d9879
Bug 25008: Overload Koha::RecordProcessor->options to update filters

This patch overloads the 'options' accessor generated by Class:Accessor.
It does so the passed options are used to refresh the loaded filters.

Tests are added for this overloaded method as well.

To test:
1. Apply this patches
2. Run:
   $ kshell
  k$ prove t/RecordProcessor.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/RecordProcessor.pm