Alert Rule - add Operator 'in' and 'not in' (#11327)

* Alert Rule - add Operator 'in' and 'not in'

* .
This commit is contained in:
SourceDoctor
2020-03-23 14:36:44 +01:00
committed by GitHub
parent e320fdf1cc
commit 9802179030

View File

@ -171,7 +171,6 @@ if (Auth::user()->hasGlobalAdmin()) {
</div>
</div>
<script src="js/sql-parser.min.js"></script>
<script src="js/query-builder.standalone.min.js"></script>
<script>
@ -195,7 +194,7 @@ if (Auth::user()->hasGlobalAdmin()) {
filters: <?php echo $filters; ?>,
operators: [
'equal', 'not_equal', 'between', 'not_between', 'begins_with', 'not_begins_with', 'contains', 'not_contains', 'ends_with', 'not_ends_with', 'is_empty', 'is_not_empty', 'is_null', 'is_not_null',
'equal', 'not_equal', 'between', 'not_between', 'begins_with', 'not_begins_with', 'contains', 'not_contains', 'ends_with', 'not_ends_with', 'is_empty', 'is_not_empty', 'is_null', 'is_not_null', 'in', 'not_in',
{type: 'less', nb_inputs: 1, multiple: false, apply_to: ['string', 'number', 'datetime']},
{type: 'less_or_equal', nb_inputs: 1, multiple: false, apply_to: ['string', 'number', 'datetime']},
{type: 'greater', nb_inputs: 1, multiple: false, apply_to: ['string', 'number', 'datetime']},