mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 02:21:55 -04:00
Fix Patron sort
This commit is contained in:
parent
fe247568bb
commit
020ef88b83
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue