]> git.koha-community.org Git - koha.git/commit
Bug 28365: (Bug 19873 follow-up) Make it possible to search on value 0
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 17 May 2021 14:20:41 +0000 (16:20 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Nov 2021 14:40:52 +0000 (15:40 +0100)
commit2f4d5954c99c7c206d5ccf8f335014fdc1f4723e
tree7bd48cd80a074a8209401a8e1f267066af91c5c3
parente9a68f9f7d656be9552ca1eb3450032e1366fd65
Bug 28365: (Bug 19873 follow-up) Make it possible to search on value 0

Bug 19873 fixed search with value 0.
It works in first page but not in other pages.

This patch fixes query_cgi var.

Test plan:
  - create a st-numeric index in zebra conf related to
    a numeric field
    i.e:
    yourindex 1=yourindex 4=109
  - fill a field with 0 in several biblio records,
  - reindex your biblios,
  - search yourindex=0 and go to second page of results,
  - should not work,
  - apply this patch,
  - test again,
  - should work

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Search.pm