]> git.koha-community.org Git - koha.git/commit
Bug 36196: Handling NULL data on ajax call
authorThibaud Guillot <thibaud.guillot@biblibre.com>
Wed, 28 Feb 2024 15:20:10 +0000 (16:20 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 16 Sep 2024 13:54:48 +0000 (15:54 +0200)
commitc31470f863847ec223dab93aa9faa20f55ad8ae9
treeb6450911503e1d79690eb4fdfc9779240ed9f6b4
parent595bcd86bb4ed8698d16293abb4838a49175c8b0
Bug 36196: Handling NULL data on ajax call

Test plan:

1) Update some data in your cities table, sample for one send:
"UPDATE cities SET city_state=NULL WHERE cityid=<id>"
2) Go on "/cgi-bin/koha/admin/cities.pl" and wait a entire life :)
3) Apply this patch
4) Rebuild your po files if needed
5) Reload the same page and now you get normally the datatable

Sponsored by: BibLibre
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit e0856d0db648766ba1d65a4f784983a416ac4a35)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit a963c6bc14253d736ccfa0a3618d5d6e0e0ed955)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt