Keep selected date range when navigating through different group by variants of the stockreport/spendings (closes #2532)

This commit is contained in:
Bernd Bestel
2025-01-13 23:13:24 +01:00
parent 645f9e2599
commit c99dd46007
3 changed files with 18 additions and 6 deletions

View File

@@ -143,3 +143,11 @@ $("#product-group-filter").on("change", function()
UpdateUriParam("product-group", $(this).val());
window.location.reload();
});
$(".group-by-button").on("click", function(e)
{
e.preventDefault();
UpdateUriParam("group-by", $(this).attr("data-group-by"));
window.location.reload();
});