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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to