]> git.koha-community.org Git - koha.git/commit
Bug 19209: Add ->is_paged method to Koha::Objects
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Aug 2017 15:09:37 +0000 (12:09 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Sep 2017 16:00:06 +0000 (13:00 -0300)
commit7abe6e9670ecb9b879e3b8c237fd9fad35f5ff18
treefade28c66e80ff0451af18aae25d686c030c4ec9
parentff4f0858950c37eeede38b2f067841602b97d7ba
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
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Objects.pm
t/db_dependent/Koha/Objects.t