mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 04:43:32 +00:00
Keep selected date range when navigating through different group by variants of the stockreport/spendings (closes #2532)
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user