Koha/koha-tmpl/intranet-tmpl/prog
Jonathan Druart 27a4149625 Bug 16115: Remove JS error on item search if NOT_LOAN values do not exist
If NOT_LOAN 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 NOT_LOAN authorised values
Go on the item search form
=> You will not get the JS error and the "Status" bloc is no longer
displayed. There is no need to display it if empty.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-02-14 13:46:48 +00:00
..
css Bug 17929 - You can't edit indicators in the cataloging screen 2017-02-07 17:53:41 +00:00
en Bug 16115: Remove JS error on item search if NOT_LOAN values do not exist 2017-02-14 13:46:48 +00:00
img Bug 16072: Changing all instances of 'loading-small.gif' to 'spinner-small.gif' and removing loading-small.gif file. 2016-12-28 13:43:20 +00:00
js Bug 16239: Update javascript files 2017-01-13 14:41:23 +00:00
pdf
sound