Bug 39955: Report subgroup filter not cleared when changing tabs
This patch fixes the JS on the saved SQL reports page so that the subgroup column filter is correctly cleared when the tab changes. The wrong table column is targeted. To test, apply the patch and go to Reports -> Saved SQL reports. - If necessary, at least two SQL reports, each with in a different group and different subgroup. For example: - sql: SELECT * FROM items LIMIT 10; - group: Catalog - subgroup: Statistics ...and... - sql: SELECT * FROM borrowers LIMIT 10; - group: Patrons - subgroup: Statistics - From the saved reports page, go to the tab for one of your reports and filter by subgroup. - Switch to a different tab containing SQL reports. The reports should be shown as expected. Sponsored-by: Athens County Public Libraries Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
0cafda92b6
commit
2de0265166
|
|
@ -2481,7 +2481,7 @@
|
|||
let table_dt = rtable.DataTable();
|
||||
let col4 = table_dt.columns(4);
|
||||
col4.search("").visible(true);
|
||||
let col5 = table_dt.columns(4);
|
||||
let col5 = table_dt.columns(5);
|
||||
col5.search("").visible(true);
|
||||
|
||||
var g_id = tab.find("a").data("tabname");
|
||||
|
|
|
|||
Loading…
Reference in New Issue