[Koha-bugs] [Bug 23395] batch operations on biblios/items should be able to pass a list of plugins
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 30 14:53:56 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23395
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 91871
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91871&action=edit
Bug 23395: Add a $plugins parameter to *Biblio and *Item methods
This patch adds a $plugin parameter (the way those methods already
expect parameters) that is expected to contain an arrayref of plugin
object instances.
The target scenario are batch operations, in which we really don't want
to fetch the available plugins on each iteration.
This patch doesn't make batch-related scripts use this new option. It
will be done on a follow-up patch.
To test:
- Apply this patches
- Run:
$ kshell
k$ prove t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t
=> SUCCESS: All tests pass, new tests as well
- Sign off :-D
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list