mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
Fix collection sorting in bulk downloads
This commit is contained in:
parent
282909ef6a
commit
c95d8c4954
2 changed files with 2 additions and 2 deletions
|
@ -14,6 +14,6 @@ class Collection{
|
|||
}
|
||||
|
||||
public function GetSortedName(): string{
|
||||
return preg_replace('/^(the|and|a|)\b/ius', '', $this->Name);
|
||||
return preg_replace('/^(the|and|a|)\s/ius', '', $this->Name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue