From 06e3fd4d2812220970c19700c27b82251ff21864 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sun, 7 Jul 2019 19:50:46 +0800 Subject: [PATCH] [customer-summary] fix no-owner sorting properly this comparison now works for no-owner sorting. 3a927ce2a, second attempt. --- gnucash/report/business-reports/customer-summary.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnucash/report/business-reports/customer-summary.scm b/gnucash/report/business-reports/customer-summary.scm index 460d999a8a..e92b594e85 100644 --- a/gnucash/report/business-reports/customer-summary.scm +++ b/gnucash/report/business-reports/customer-summary.scm @@ -434,8 +434,8 @@ ((customername) (lambda (a b) (cond - ((vector-ref b 6) #t) - ((vector-ref a 6) #f) + ((not (vector-ref b 6)) #t) + ((not (vector-ref a 6)) #f) (else (str-op (vector-ref a 0) (vector-ref b 0)))))) ;; currency sorting always alphabetical a-z ((currency)