Improve tag and collection browsing and pagination

This commit is contained in:
Alex Cabal 2019-02-26 18:28:45 -06:00
parent cfa54122d6
commit 6f86a1899b
4 changed files with 32 additions and 11 deletions

View file

@ -521,7 +521,7 @@ class Ebook{
public function IsInCollection(string $collection): bool{
foreach($this->Collections as $c){
if(strtolower($c->Name) == strtolower($collection)){
if(strtolower(Formatter::RemoveDiacritics($c->Name)) == strtolower(Formatter::RemoveDiacritics($collection))){
return true;
}
}