Koha/koha-tmpl
Nick Clemens da3ccdc143 Bug 18047 - JavaScript error on item search form unless LOC defined
If LOC is not present, the item search form will raise a JS error:
SyntaxError: expected expression, got '}'

This patch fixes it by handling this specific case.

Note that the "Status" column is still displayed.

Test plan:
Remove your LOC authorised values
Go on the item search form
=> You will not get the JS error and the "Shelving location" bloc is no longer
displayed. There is no need to display it if empty.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-02-14 14:11:38 +00:00
..
intranet-tmpl Bug 18047 - JavaScript error on item search form unless LOC defined 2017-02-14 14:11:38 +00:00
opac-tmpl Bug 17960: Replace missing occurrences 2017-02-06 17:42:14 +00:00
favicon.ico
index.html
intranet.html
opac.html