Jobs/GraphQL: Add ACTIVE to model

This commit is contained in:
Jonathan Jenne 2024-01-23 13:48:33 +01:00
parent 1d2aecf4fb
commit 64e92f7a39

View File

@ -18,7 +18,7 @@ Public Class GraphQLModel
Public Function GetQueryList() As List(Of Query)
Try
Dim oQueryTable As DataTable = Database.GetDatatable("SELECT * FROM TBCUST_JOBRUNNER_QUERY ORDER BY SEQUENCE")
Dim oQueryTable As DataTable = Database.GetDatatable("SELECT * FROM TBCUST_JOBRUNNER_QUERY WHERE ACTIVE = 1 ORDER BY SEQUENCE")
Dim oQueryList As New List(Of Query)
For Each oRow As DataRow In oQueryTable.Rows