[Koha-bugs] [Bug 28883] Koha::Objects->_new_from_dbic doesn't work correctly in list context

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 3 17:27:26 CEST 2021


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

--- Comment #31 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
After playing with this in a few ways I think I like the plan of doing as dbic
does with the standard returns.. i.e. using wantarray and taking note of
context.

I don't hugely like the use of Context.Scalar in templates.. it feels
cumbersome somehow, but Tomas showed me a core tt plugin that allows
thingy.scalar.relationship.. i.e adding scalar into the chain. That seems to
work OK in my testing.

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


More information about the Koha-bugs mailing list