]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 13 May 2020 22:03:10 +0000 (22:03 +0000)
commitd1db7aeca5a238d5b7cc172778d142b45dd073bf
tree61a4c5b223dc08a0b56faf63248cf9eb8e8ca359
parent427f564c4de3e4e71c183bc793260b16fdb05c93
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>
(cherry picked from commit b4f47c9a06af45a1524c210f073c07523ff94ce9)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/RecordProcessor.pm