]> git.koha-community.org Git - koha.git/commit
Bug 13957: If no value, display an empty string instead of "null"
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 7 Apr 2015 14:46:27 +0000 (16:46 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 13 Apr 2015 16:15:57 +0000 (13:15 -0300)
commit0d31fca4f1303588b8a019410bbbb68d882521b7
tree2f41c0ddd0a715c3c5e082cf18651e4e09804caf
parent9c6bc2543f8ad235c8527c5b7f2d53d17308b02a
Bug 13957: If no value, display an empty string instead of "null"

Using the autocomplete feature in the patron search, if one value is
missing (i.e. country), it will be replaced with 'null'.
The default value should be an empty string.

Test plan:
0/ Enable the patron autocomplete feature
1/ Create a patron without value for country, address, zipcode, city
2/ Go on the circ home page
3/ Search for this patron. The country should not have been replaced by
"null".

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
circ/ysearch.pl