[Koha-bugs] [Bug 36334] Unnecessary JS code in member.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 15 15:40:35 CET 2024


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

--- Comment #1 from Jonathan Druart <jonathan.druart at gmail.com> ---
Created attachment 163249
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163249&action=edit
Bug 36334: Remove unnecessary JS code from member.tt

This was initially written to set the input/select in the form in the
left side of the main patron search page.

But this is now done in patron-search.inc:
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc:
  <input type="text" class="search_patron_filter" value="[% search_filter |
html %]" class="focus" />

I don't see how/when this code is still used.

Additionally:
 #searchmember_filter
 => does not exist, it's .search_patron_filter

 $("searchfieldstype_filter").val("[% searchfieldstype | html %]");
 => Not a valid selector

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list