[Koha-bugs] [Bug 20388] Elasticsearch - Ability to add search fields from UI
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 15 13:58:47 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20388
--- Comment #52 from Julian Maurice <julian.maurice at biblibre.com> ---
Comment on attachment 87203
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87203
Bug 20388: Prevent user from using a search field for a mapping after removing
it
Review of attachment 87203:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20388&attachment=87203)
-----------------------------------------------------------------
:::
koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt
@@ +33,4 @@
> var line = $(this).closest("tr");
> +
> + // We clicked delete button on search fields tab.
> + if (name = $(line).find('input[name="search_field_name"]').val()) {
It looks like 'name' is a global variable. Declare it with 'var' to avoid that.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list