diff --git a/Layout/default/Preorder/Index.php b/Layout/default/Preorder/Index.php
index f2b3ac72f..0e8a3868c 100644
--- a/Layout/default/Preorder/Index.php
+++ b/Layout/default/Preorder/Index.php
@@ -414,6 +414,16 @@ $pagination_entity_name = "Vorbestellungen";
+
+
+
+
+
+
diff --git a/application/Preorder/PreorderModel.php b/application/Preorder/PreorderModel.php
index ed62298b3..71d276c71 100644
--- a/application/Preorder/PreorderModel.php
+++ b/application/Preorder/PreorderModel.php
@@ -1035,6 +1035,14 @@ class PreorderModel
}
}
+ if (array_key_exists("attributes_bep_specified", $filter)) {
+ if ($filter['attributes_bep_specified'] == 1) {
+ $where .= " AND JSON_EXTRACT(tt_preorder.attributes, \"$.bep_specified\") = 1";
+ } else if ($filter['attributes_bep_specified'] == 0) {
+ $where .= " AND (JSON_EXTRACT(tt_preorder.attributes, \"$.bep_specified\") IS NULL OR JSON_EXTRACT(tt_preorder.attributes, \"$.bep_specified\") = '0')";
+ }
+ }
+
if (array_key_exists("create_from", $filter)) {
$create_from = $filter['create_from'];
if ($create_from) {