[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 17:39:02 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36334
Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #163249|0 |1
is obsolete| |
--- Comment #3 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 163258
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163258&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
Signed-off-by: Pedro Amorim <pedro.amorim at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list