Zooflow: Fix sorting searches
This commit is contained in:
parent
f08ad76d45
commit
2e1e981b0f
@ -386,14 +386,11 @@ Public Class frmSearchFlow
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub ViewSearches_CustomColumnSort(sender As Object, e As Views.Base.CustomColumnSortEventArgs) Handles ViewSearches.CustomColumnSort
|
Private Sub ViewSearches_CustomColumnSort(sender As Object, e As Views.Base.CustomColumnSortEventArgs) Handles ViewSearches.CustomColumnSort
|
||||||
Console.WriteLine()
|
If TypeOf e.RowObject1 Is CustomSearch Or TypeOf e.RowObject2 Is CustomSearch Then
|
||||||
|
|
||||||
If TypeOf e.RowObject1 Is CustomSearch Then
|
|
||||||
e.Result = 1
|
|
||||||
e.Handled = True
|
|
||||||
Else
|
|
||||||
e.Result = -1
|
e.Result = -1
|
||||||
e.Handled = True
|
e.Handled = True
|
||||||
|
Else
|
||||||
|
e.Handled = False
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
Loading…
x
Reference in New Issue
Block a user