]> git.koha-community.org Git - koha.git/commit
Bug 36334: Remove unnecessary JS code from member.tt
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 15 Mar 2024 14:38:18 +0000 (15:38 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 18 Mar 2024 17:03:38 +0000 (18:03 +0100)
commit41254a1b64f134ed87c2cd52241c0f5995ef8c4d
treeb09a20fa3fb8b2a0b17c570a3b6d63c7d0e20ca9
parent1e295fac47e28e69ca3e84d7bf17281891ae06f9
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@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt