From 19bbeaa67ae6953603570a435fdcdf9ae3c6c44f Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Tue, 9 Apr 2019 17:36:09 +0100 Subject: [PATCH] Bug 797185 - Correct the sorting for the Transaction Association Dialog Change the sort function to use the correct model column. --- gnucash/gnome/dialog-trans-assoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnucash/gnome/dialog-trans-assoc.c b/gnucash/gnome/dialog-trans-assoc.c index f835e8664b..d85998953e 100644 --- a/gnucash/gnome/dialog-trans-assoc.c +++ b/gnucash/gnome/dialog-trans-assoc.c @@ -100,8 +100,8 @@ sort_iter_compare_func (GtkTreeModel *model, gint ret = 0; gchar *uri1, *uri2; - gtk_tree_model_get (model, a, URI, &uri1, -1); - gtk_tree_model_get (model, b, URI, &uri2, -1); + gtk_tree_model_get (model, a, URI_U, &uri1, -1); + gtk_tree_model_get (model, b, URI_U, &uri2, -1); ret = g_utf8_collate (uri1, uri2);