]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 1 Jun 2022 16:51:37 +0000 (13:51 -0300)
commit2da14cf8c10c2d5165220e6657b279b37aa02f81
treed9d1769b9c200ffef6020612222c804bb18db902
parentfde3aefba821c43554adaa53324c81cbe7d2d95a
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>
C4/Search.pm