[Koha-bugs] [Bug 16079] Retrieving system preferences from database via DBIx is not fast enough

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 28 12:43:49 CEST 2016


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

--- Comment #18 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jacek Ablewicz from comment #17)
> Any ideas how to implement hashref inflator method / variant inside
> Koha::Object[s] without violating (too much ;) the underlying principles of
> Koha::Objects?

Good question :)
I will be very interested in seeing an implementation of that..
Looks like especially Objects.pm would need some intelligent handling of both
variants where it now just wraps DBIx result sets.
But it would be interesting in cases where we would now rightaway call search,
find and unbless.
If the current design really allows that is another one. In terms of code
maintenance it might become harder. The object in _resultset would probably beg
for another layer?

Or just replace the search( )->unbless by some new search_inflated( ) ?

What about it, Jonathan?

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


More information about the Koha-bugs mailing list