]> _ Git - cubist_cms-back.git/commitdiff
wip #6496 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Dec 2023 15:28:52 +0000 (16:28 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Dec 2023 15:28:52 +0000 (16:28 +0100)
src/resources/views/when.blade.php

index e741ed2915e3c600fe29fe17957a5344b20cc911..e5ce471435bc53f1ee100bb1130eaee81e1d59ec 100644 (file)
@@ -63,7 +63,9 @@
 
                         var matchproperty = false;
                         $.each(conditions, function (k, condition) {
-                            if (condition.id === val) {
+                            if ((condition.id === '_not_empty_' && val.toString().length > 0) ||
+                                condition.id === val) {
+
                                 matchproperty = true;
                                 order = Math.min(order, condition.order);
                                 return false;