]> git.koha-community.org Git - koha.git/commit
Bug 26460: Fix line ending in JSON
authorNick Clemens <nick@bywatersolutions.com>
Mon, 14 Sep 2020 17:44:36 +0000 (17:44 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 15 Oct 2020 21:58:28 +0000 (21:58 +0000)
commitf0b7b8974be84379fc854e74e6bcdcb1ba01a109
tree84d11409ad680b6ced39a735bddf8bd6b7e3c064
parenteb88ec34bffb57554f31e7b56cd40b37aaa08e6b
Bug 26460: Fix line ending in JSON

Wrong line ending in JSON causes error:
Uncaught SyntaxError: missing } after property list
note: { opened at line 29579, column 15

To test:
1 - Have a title with some items not for hold in staff interface
2 - Set AllowHoldPolicyOverride to 'Allow'
3 - Attempt to place hold on the title
4 - Note JS error in the console and datatable does not load for items
5 - Apply patch
6 - Reload
7 - Error is cleared, table loads correctly

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 692b0958414474b48ef7242b65e697913dc99deb)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt