]> 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)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 5 Nov 2021 16:36:07 +0000 (12:36 -0400)
commit14475990626dd16f82b08415b07cf8669ce51a54
tree176c6dc3de7edc58f0660d9a54167cc0c6e6ab0c
parentae66b6f1753f15bee277d0467e7a36f1eb67c318
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Search.pm