https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33484

--- Comment #101 from Jonathan Druart <[email protected]> ---
Created attachment 173485
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173485&action=edit
Bug 33484: Include patron search code if no patron selected yet

When placing a hold we should not display the patron search code
(html+js) if we have picked a patron already, otherwise a get a JS error
  Uncaught TypeError: table_dt.settings()[0] is undefined

koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
781             let table_dt = patrons_table.DataTable();
782             let loaded_from_state =
table_dt.settings()[0].loaded_from_state;

Signed-off-by: Jonathan Druart <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to