]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 14 Mar 2023 11:49:27 +0000 (08:49 -0300)
commit64d3498da4c62f8a2fa3d28c7cfe8b0a9e251288
treea56787f165ebb92fe72ed51f15fc1847b647a2ea
parent12e3e91c134d9900a9712433618ae891197500e6
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>
Koha/REST/Plugin/Query.pm
t/Koha/REST/Plugin/Query.t