https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33484 --- Comment #101 from Jonathan Druart <jonathan.druart@gmail.com> --- 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 <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.