From cf05be35fe583037074530b696c18bde998363f9 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Tue, 22 Dec 2020 19:10:02 +0100 Subject: [PATCH] Fix default for product option "Never show on stock overview" (fixes #1212) --- changelog/61_UNRELEASED_xxxx-xx-xx.md | 1 + views/productform.blade.php | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/changelog/61_UNRELEASED_xxxx-xx-xx.md b/changelog/61_UNRELEASED_xxxx-xx-xx.md index 0ef39715..17da2835 100644 --- a/changelog/61_UNRELEASED_xxxx-xx-xx.md +++ b/changelog/61_UNRELEASED_xxxx-xx-xx.md @@ -1,2 +1,3 @@ - Improved the prerequisites checker (added missing required PHP extension `ctype`) (thanks @Forceu) - Fixed that browser camera barcode scanning did not work on the product edit page +- Fixed that the new product option "Never show on stock overview" was unintentionally set by default for new products diff --git a/views/productform.blade.php b/views/productform.blade.php index 5fcee16c..fb0758ee 100644 --- a/views/productform.blade.php +++ b/views/productform.blade.php @@ -402,10 +402,7 @@
- hide_on_stock_overview == 1) checked @endif class="form-check-input custom-control-input" type="checkbox" id="hide_on_stock_overview" name="hide_on_stock_overview" value="1">