]> 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)
committerJoy Nelson <joy@bywatersolutions.com>
Tue, 5 May 2020 20:39:04 +0000 (20:39 +0000)
commitb4f47c9a06af45a1524c210f073c07523ff94ce9
treeea1d96dc6aa73ac87950df78a9946282affa9c69
parentb2b36b6f447890ec2972cd2b397a23c53fd183f3
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
Koha/RecordProcessor.pm