mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Fixed /stockoverview "Min. stock amount" column sorting (fixes #2189)
This commit is contained in:
parent
71d44edb8c
commit
a56de30268
@ -31,7 +31,7 @@
|
||||
- The product option "Quick consume amount" (the amount used for the "quick consume/open buttons" on the stock overview page) has been split into another option "Quick open amount", to be able to set different amounts for consume and open (defaults to the "Quick consume amount" per product, so no changed behavior when not configured)
|
||||
- Changed that for the product's average and last price (and for the price history chart) stock transactions with an empty or `0` price are ignored
|
||||
- Fixed that hiding the "Purchased date" column (table options) on the stock entries page didn't work
|
||||
- Fixed that sorting by the "Value" column on the stock overview page didn't work
|
||||
- Fixed that sorting by the "Value" and "Min. stock amount" columns on the stock overview page didn't work
|
||||
- Fixed that the consumed amount was wrong, when consuming multiple substituted subproducts at once and when multiple/different conversion factors were involved
|
||||
- Fixed that for a product's average price, only currently in-stock items were considered, not already consumed ones
|
||||
|
||||
|
@ -27,7 +27,7 @@ var stockOverviewTable = $('#stock-overview-table').DataTable({
|
||||
{ "type": "html", "targets": 5 },
|
||||
{ "type": "html", "targets": 11 },
|
||||
{ "type": "custom-sort", "targets": 12 },
|
||||
{ "type": "num", "targets": 13 },
|
||||
{ "type": "html-num-fmt", "targets": 13 },
|
||||
{ "type": "custom-sort", "targets": 4 },
|
||||
{ "type": "custom-sort", "targets": 18 }
|
||||
].concat($.fn.dataTable.defaults.columnDefs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user