]> git.koha-community.org Git - koha.git/commit
Bug 32118: Add optional support for `:` as the modifier
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 3 Nov 2022 11:02:21 +0000 (11:02 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 20 Mar 2023 16:51:50 +0000 (16:51 +0000)
commit8906e758dca3ee11e4917ba5fbb1a7cf33856fcf
treef174dc96e4173277f17d4c13d122a815af3d720e
parente1f9ba13e9dc5907a92cee4de425d1897a7424c9
Bug 32118: Add optional support for `:` as the modifier

This patch adds optional support for using `:` as the modifier for
invoking the 'count' method for relations as discussed.

We retain support for `+` for backward compatability to prevent a
breaking change.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 64d3498da4c62f8a2fa3d28c7cfe8b0a9e251288)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/REST/Plugin/Query.pm
t/Koha/REST/Plugin/Query.t