]> git.koha-community.org Git - koha.git/commit
Bug 38190: Remove JS error on suggestion page
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 17 Oct 2024 09:11:26 +0000 (11:11 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 18 Oct 2024 12:25:54 +0000 (14:25 +0200)
commit824d80b6f83b30fc6b2bec5e0b1a8b62b9f379ae
tree8c32619acb4d01b1004f1c6d937e8463e39804cc
parent55c6df46b7123ab8bb3c06526df69b90a2f73cf4
Bug 38190: Remove JS error on suggestion page

This code could appear several time as we include it in modals

Test plan:
Go on http://localhost:8081/cgi-bin/koha/suggestion/suggestion.pl
Open the console
Notice that without this patch you see a JS error
  Uncaught SyntaxError: redeclaration of const av_bsort1
With this patch applied the error is gone.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc