]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 6 Jun 2022 15:42:51 +0000 (15:42 +0000)
commiteb07e2c47560caabd9f3b4b1469db6fbaa394867
tree03b2c5dcf76c0998b2cfd01d9d9a6e3c9d17ac47
parentf9290c5465214bea72c7aa3f0a98d85260ab525f
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>
C4/Search.pm