[Koha-bugs] [Bug 28854] Add ability to create bundles of items for circulation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 11 16:35:58 CEST 2022


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

--- Comment #453 from Kyle M Hall <kyle at bywatersolutions.com> ---
> > Why the switch from effective_itemtype() to itemtype()?
> 
> So.. the change here is actually so we can have access to the Item object
> lower down in the function.. the switch from finding the itemtype object
> directly to using the Koha::Item level accessor method means we get back the
> effective_itemtype object directly via the accessor.  See
> Koha::Item->itemtype ;P

Thanks! I see now! I missed that subroutine when I was looking for it!


> Huh.. this is a copy/paste from Koha::Object::store (Yes, I'd like to move
> it into DBIC at some point, but didn't feel it was appropriate here).. the
> `\W?` is there.. just after `for column` in the regex.. not sure I follow
> your question here I'm afraid.

I missed where the \W was by focusing only on the patch and not the surrounding
code.

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


More information about the Koha-bugs mailing list