]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Apr 2018 16:34:41 +0000 (13:34 -0300)
commitbc41a490a1ecd14e31b36a4531ced1203c0ed608
treed143ff06cba3a8e2f68ace25beff3926c1f451dd
parentdb3e175c46ab466e484a34c97d8a64a6482fd194
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>
C4/Search.pm