[Koha-bugs] [Bug 19209] Koha::Objects should provide ->is_paged method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 1 12:05:00 CEST 2017


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

--- Comment #12 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Marcel de Rooy from comment #11)
> Small remark:
> 
> +    is( ref($patrons->pager), 'DBIx::Class::ResultSet::Pager',
> +       'Koha::Objects->pager returns a valid DBIx::Class object' );
> 
> If that is what we really want? Until now we wrapped lots of things in Koha
> objects.
> Btw: pager returns a Data::Page object for the current resultset.

yeah, that looked weird, but I'm not touching it besides moving the tests into
another subtsests. It is probably worth discussing and eventually filling a new
bug.

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


More information about the Koha-bugs mailing list