Default any add-to-shopping-list-actions to the default shopping list (closes #2472)

This commit is contained in:
Bernd Bestel
2024-02-24 20:15:23 +01:00
parent 24cac247f5
commit 8ba3305a21
4 changed files with 4 additions and 4 deletions

View File

@@ -152,7 +152,7 @@
@if(GROCY_FEATURE_FLAG_SHOPPINGLIST)
<a class="dropdown-item show-as-dialog-link"
type="button"
href="{{ $U('/shoppinglistitem/new?embedded&updateexistingproduct&product=' . $stockEntry->product_id ) }}">
href="{{ $U('/shoppinglistitem/new?embedded&updateexistingproduct&list=1&product=' . $stockEntry->product_id ) }}">
<i class="fa-solid fa-shopping-cart"></i> {{ $__t('Add to shopping list') }}
</a>
<div class="dropdown-divider"></div>