Zooflow: Implement Single file Search Results, Rework client wrt Address parsing
This commit is contained in:
@@ -32,7 +32,7 @@ Public Class ProfileSearches
|
||||
_Environment = pEnvironment
|
||||
_ClipboardContents = pClipboardContents
|
||||
Try
|
||||
If _Environment.Service.IsActive = True Then
|
||||
If _Environment.Service.Client.IsOnline = True Then
|
||||
Try
|
||||
Dim oSplit() As String = _Environment.Service.Address.Split(":")
|
||||
Dim oAppServerAddress As String = oSplit(0)
|
||||
@@ -90,7 +90,7 @@ Public Class ProfileSearches
|
||||
Private Function DoLoadDocumentSearches(ProfileId As Integer) As List(Of Search)
|
||||
Dim oSQL As String = $"SELECT * FROM TBCW_PROF_DOC_SEARCH WHERE ACTIVE = 1 AND PROFILE_ID = {ProfileId} ORDER BY TAB_INDEX"
|
||||
Dim oSearchesDataTable As DataTable
|
||||
If _Environment.Service.IsActive = True Then
|
||||
If _Environment.Service.Client.IsOnline = True Then
|
||||
Dim oTableResult As TableResult = _Client.GetDatatableByName("TBCW_PROF_DOC_SEARCH", $"PROFILE_ID = {ProfileId} AND ACTIVE = 1", "TAB_INDEX")
|
||||
oSearchesDataTable = oTableResult.Table
|
||||
If oSearchesDataTable Is Nothing Then
|
||||
@@ -157,7 +157,7 @@ Public Class ProfileSearches
|
||||
Try
|
||||
Dim oSQL As String = $"SELECT * FROM TBCW_PROF_DATA_SEARCH WHERE ACTIVE = 1 AND PROFILE_ID = {ProfileId} ORDER BY TAB_INDEX"
|
||||
Dim oSearchesDataTable As DataTable
|
||||
If _Environment.Service.IsActive = True Then
|
||||
If _Environment.Service.Client.IsOnline = True Then
|
||||
Dim oTableResult As TableResult = _Client.GetDatatableByName("TBCW_PROF_DATA_SEARCH", $"PROFILE_ID = {ProfileId} AND ACTIVE = 1", "TAB_INDEX")
|
||||
oSearchesDataTable = oTableResult.Table
|
||||
If oSearchesDataTable Is Nothing Then
|
||||
|
||||
Reference in New Issue
Block a user