Summary: | Wrapping DBIx count inside Koha Object | ||
---|---|---|---|
Product: | Koha | Reporter: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
Component: | Architecture, internals, and plumbing | Assignee: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
Status: | CLOSED INVALID | QA Contact: | Kyle M Hall (khall) <kyle> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | kyle, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: | Bug 13905 - Wrapping DBIx count inside Koha Object |
Description
Olli-Antti Kivilahti
2015-03-25 13:49:41 UTC
Created attachment 37215 [details] [review] Bug 13905 - Wrapping DBIx count inside Koha Object DBIx::Class::ResultSet has a handy method count() to see how many results this prepared ResultSet would return. This is hidden by the Koha::Object. This patch adds a wrapper for the count() method inside the Koha::Object, so it is nicely available for all subclasses. count() is already in Koha::Objects |