https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23395

--- Comment #2 from Tomás Cohen Arazi <tomasco...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to