Hi All,

On two different bugs we have run into similar issues where a method was needed that didn't use the object directly.

On bug 28709 I proposed checking the ref of $self to see if this was called via the object - David Cook proposed adding a second method that is always called directly and calling that from the object method

On bug 20817 Kyle proposed a Koha::Util::Acquisition class and we could utilize that for other object as well, e.g. Koha::Util::Biblio, Koha::Util::Item

I put this on the agenda for the next dev meeting, I am sending it out here to get opinions and encourage attendance at that meeting to vote on a path forward.

-Nick




--
Nick Clemens
ByWater Solutions
Phone: (888) 900-8944
Pronouns: (he/him/his)
Timezone: Eastern
Follow us: