[Koha-bugs] [Bug 22549] New: We should really leverage the power of DBIx::Class::ResultSetColumn in Koha::Objects
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 20 15:12:26 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22549
Bug ID: 22549
Summary: We should really leverage the power of
DBIx::Class::ResultSetColumn in Koha::Objects
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: martin.renvoize at ptfs-europe.com
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
calling get_column on a Koha::Objects object, we currently throw away the
ResultSetColumn object and instead call ->all upon it internally to return a
simple array of values instead of giving us a ResultSetColumn object back.
We're then forced to do calculations either in perl or be working around the
lack of ResultSetColumn.
I've seen cases for 'min', 'max', 'sum' and 'as_query' at the very least.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list