From 020ef88b83efd9ae4c218099596106d5e6e78207 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sun, 24 Jul 2022 22:13:46 -0500 Subject: [PATCH] Fix Patron sort --- www/about/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/about/index.php b/www/about/index.php index c19df141..eb21ada5 100644 --- a/www/about/index.php +++ b/www/about/index.php @@ -13,7 +13,7 @@ $patronsCircle = Db::Query('SELECT if(p.AlternateName is not null, p.AlternateNa where p.IsAnonymous = false and p.Ended is null - order by regexp_substr(SortedName, "[\\\p{Lu}][\\\p{L}\-]+$") asc; + order by regexp_substr(SortedName, "[\\\p{Lu}][\\\p{L}\-]*$") asc; '); $anonymousPatronCount = Db::QueryInt('SELECT sum(cnt)