Rename Created and Updated in PHP code to EbookCreated and EbookUpdated to match the schema

This commit is contained in:
Mike Colagrosso 2024-05-20 22:23:38 -06:00 committed by Alex Cabal
parent ac7db8d375
commit f605a4df60
6 changed files with 19 additions and 19 deletions

View file

@ -59,10 +59,10 @@ class Library{
case EbookSortType::Newest:
usort($matches, function($a, $b){
if($a->Created < $b->Created){
if($a->EbookCreated < $b->EbookCreated){
return -1;
}
elseif($a->Created == $b->Created){
elseif($a->EbookCreated == $b->EbookCreated){
return 0;
}
else{