]> git.koha-community.org Git - koha.git/commit
Bug 30528: Process limits before handling CCL query
authorNick Clemens <nick@bywatersolutions.com>
Thu, 14 Apr 2022 12:20:09 +0000 (12:20 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 8 Jun 2022 10:08:26 +0000 (12:08 +0200)
commit91f069c390d651c63d74953f720ec630be0c4ce3
tree8e2c74e4da855466f8eadbce9fdb30401a2fe5ad
parent9ec049669b69fbaca16d413d490889466324c4f2
Bug 30528: Process limits before handling CCL query

This patch moves the code that handles limit processing before that for CCL queries to ensure that special limit cases (branch, multibranch, etc) are handled before adding the limits to the query string

To test:
1 - Apply unit tests patch only
2 - prove -v t/db_dependent/Search.t
3 - It fails
4 - Apply this patch
5 - It passes!
6 - Test searching and confirm things work as epxected

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2da14cf8c10c2d5165220e6657b279b37aa02f81)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit eb07e2c47560caabd9f3b4b1469db6fbaa394867)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
C4/Search.pm