[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
Wed Aug 30 17:14:13 CEST 2017


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 66620
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66620&action=edit
Bug 19209: Add ->is_paged method to Koha::Objects

This patch adds ->is_paged to Koha::Objects. It is inherited from the
underlying resultset
from DBIC so there's no code besides adding it to the known methods in
AUTOLOAD.

Tests are added for the newly exported method.

To test:
- Apply this patch
- Run:
  $ sudo koha-shell kohadev
 k$ cd kohaclone
 k$ prove t/db_dependent/Koha/Objects.t
=> SUCCESS: Tests pass!
- Sign off :-D

Sponsored-by: Camden County

-- 
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