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> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>