Optionally remove only done shopping list items (/stock/shoppinglist/clear API endpoint, closes #1730)

This commit is contained in:
Bernd Bestel
2022-01-06 14:07:29 +01:00
parent 0b36d02aa1
commit 3a6f04f770
4 changed files with 23 additions and 5 deletions

View File

@@ -7,3 +7,4 @@
- Fixed that the barcode lookup for the "Stock by-barcode" API endpoints was case sensitive
- Fixed that the logout button/menu was missing when using external authentication (e.g. LDAP)
- Fixed that the consume page/dialog wasn't properly initialized when opening it from the stock entries page
- The API endpoint `/stock/shoppinglist/clear` has now a new optional request body parameter `done_only` (to only remove done items from the given shopping list, defaults to `false`)