[Koha-bugs] [Bug 25855] Add post_renewal_hook in circulation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 2 13:32:56 CEST 2020


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

--- Comment #8 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Comment on attachment 106249
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106249
Bug 25855: Add a post_renewal_action plugin hook

Review of attachment 106249:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=25855&attachment=106249)
-----------------------------------------------------------------

::: C4/Circulation.pm
@@ +4292,4 @@
>      return 0;
>  }
>  
> +=head3 _post_renewal_actions

Hmm.. could we perhaps be a bit more forward-thinking here and adopt a more
generic approach akin to that taken in C4/Biblio.pm where we have
'_after_biblio_actions_hooks' which accepts and action param.. perhaps we could
have `_after_circ_action_hooks` here and then in followup bugs we can extend it
easily to support the other actions available within the module?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list