mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Alert Rule - add Operator 'in' and 'not in' (#11327)
* Alert Rule - add Operator 'in' and 'not in' * .
This commit is contained in:
@ -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']},
|
||||
|
Reference in New Issue
Block a user