mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Improve tag and collection browsing and pagination
This commit is contained in:
parent
cfa54122d6
commit
6f86a1899b
4 changed files with 32 additions and 11 deletions
|
@ -5,7 +5,7 @@ class Collection{
|
|||
|
||||
public function __construct(string $name){
|
||||
$this->Name = $name;
|
||||
$this->Url = '/collections/' . strtolower(str_replace(' ', '-', Formatter::ToPlainText($this->Name))) . '/';
|
||||
$this->Url = '/collections/' . strtolower(str_replace(' ', '-', Formatter::ToPlainText(Formatter::RemoveDiacritics($this->Name)))) . '/';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue