Преглед изворни кода

Added '!=' option for where clause in the influx query builder (#5646)

bmundt пре 9 година
родитељ
комит
f6b1d5a84a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      public/app/plugins/datasource/influxdb/query_ctrl.ts

+ 1 - 1
public/app/plugins/datasource/influxdb/query_ctrl.ts

@@ -212,7 +212,7 @@ export class InfluxQueryCtrl extends QueryCtrl {
       if (/^\/.*\/$/.test(nextValue)) {
       if (/^\/.*\/$/.test(nextValue)) {
         return this.$q.when(this.uiSegmentSrv.newOperators(['=~', '!~']));
         return this.$q.when(this.uiSegmentSrv.newOperators(['=~', '!~']));
       } else {
       } else {
-        return this.$q.when(this.uiSegmentSrv.newOperators(['=', '<>', '<', '>']));
+        return this.$q.when(this.uiSegmentSrv.newOperators(['=', '!=', '<>', '<', '>']));
       }
       }
     }
     }