[Koha-bugs] [Bug 31360] Add biblio_id to after_item_action hook

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 17 15:11:53 CEST 2022


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

--- Comment #5 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Marcel de Rooy from comment #4)
> (In reply to Jonathan Druart from comment #2)
> > Why? Cannot you access it with $item->biblionumber?
> 
> It would need plugin changes that already assume presence of biblio_id just
> as the biblio hooks offer.

Are you expecting Koha core to fix plugin's code that has always been broken?
:D

> (In reply to Jonathan Druart from comment #3)
> > See commit 7d35052a14df66e9c5fe5d70378d36a6b1edb94d
> >     Bug 23463: Move plugin hook
> > 
> > We kept item_id for backward compatibility, but now you can access all
> > item's attributes using 'item'.
> 
> If we allow item_id for backward compatiblity, this could be done for
> biblio_id too. No big deal?

but biblio_id never existed there...

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


More information about the Koha-bugs mailing list