]> git.koha-community.org Git - koha.git/commit
Bug 19873: Ability to search on 0 value
authorAlex Arnaud <alex.arnaud@biblibre.com>
Fri, 22 Dec 2017 14:18:44 +0000 (14:18 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 23 Jul 2018 09:12:22 +0000 (11:12 +0200)
commitb387d0c8f864eb87592d4ac0c1a5f57f9e80cb6b
tree55ebe92abdcc0661a53177410bb7d85bff67f638
parentcb0847ef775e3aa842304aabe94fbf8be012b087
Bug 19873: Ability to search on 0 value

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 a biblio,
  - reindex your biblios,
  - search yourindex=0,
  - should not work,
  - apply this patch,
  - test again,
  - should work

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit bc41a490a1ecd14e31b36a4531ced1203c0ed608)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Search.pm