]> git.koha-community.org Git - koha.git/commit
Bug 33155: Fix category and library filters in patron search header
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 7 Mar 2023 12:55:19 +0000 (13:55 +0100)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 29 Mar 2023 14:50:20 +0000 (16:50 +0200)
commita8318078ab29ef76fb752495d320283c2c99fe66
treec37282159158887dd2be0e426f4fda2c74adbf49
parentdad05b8ab6ba348a05aa2133fc2698110e7bb960
Bug 33155: Fix category and library filters in patron search header

Caused by
  commit f1925cf89dbc1039fc48abfabad1472289387148
  Bug 7380: Rename filter to avoid confusion

     [% IF categorycode %]
-        $("#categorycode_filter").val("[% categorycode %]");
+        $("#categorycode_filter").val("[% categorycode_filter %]");
     [% END %]
     [% IF branchcode %]
-        $("#branchcode_filter").val("[% branchcode %]");
+        $("#branchcode_filter").val("[% branchcode_filter %]");
     [% END %]

Forgot to rename the vars in the IF statements

Test plan:
Go to the Koha mainpage
Click "Search patrons" in the headers
Open the filters
Select something for library and category, search
=> The values must be picked for the patron search

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 79e4aabc31c85fc32f2f09599818fd7b4dff117f)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(cherry picked from commit 820c3cedb4737fbd6d19980e27d4325c0d6afe55)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e1edf9a3c8f43bf69a178159ba1691d01eb6b9b8)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt