]> git.koha-community.org Git - koha.git/commit
Bug 28965: filter_by_public() and filter_by_readable()
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 7 Sep 2021 21:11:25 +0000 (18:11 -0300)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 8 Nov 2024 15:09:21 +0000 (16:09 +0100)
commit9c5d7edf4f767d5f2fe45c7a3dc0a7c399b9a4db
tree7d07bcfc003fc7c2462402ca079cafe4d57414c6
parentd5cecc5a0716a8398d4bc5a06f503b75fb272c8b
Bug 28965: filter_by_public() and filter_by_readable()

This patch adds helper methods for lists resultsets. Tests are added for
their behavior.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Virtualshelves.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Virtualshelves.pm
t/db_dependent/Virtualshelves.t