From 2e1e981b0f287d66bc2c73280c814c92d4fbf82f Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Tue, 14 Jun 2022 14:12:37 +0200 Subject: [PATCH] Zooflow: Fix sorting searches --- GUIs.ZooFlow/Search/frmSearchFlow.vb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/GUIs.ZooFlow/Search/frmSearchFlow.vb b/GUIs.ZooFlow/Search/frmSearchFlow.vb index 12a642a1..d6044eb2 100644 --- a/GUIs.ZooFlow/Search/frmSearchFlow.vb +++ b/GUIs.ZooFlow/Search/frmSearchFlow.vb @@ -386,14 +386,11 @@ Public Class frmSearchFlow End Sub Private Sub ViewSearches_CustomColumnSort(sender As Object, e As Views.Base.CustomColumnSortEventArgs) Handles ViewSearches.CustomColumnSort - Console.WriteLine() - - If TypeOf e.RowObject1 Is CustomSearch Then - e.Result = 1 - e.Handled = True - Else + If TypeOf e.RowObject1 Is CustomSearch Or TypeOf e.RowObject2 Is CustomSearch Then e.Result = -1 e.Handled = True + Else + e.Handled = False End If End Sub End Class \ No newline at end of file