mirror of
https://github.com/standardebooks/web.git
synced 2025-07-20 22:33:57 -04:00
Rename Created
and Updated
in PHP code to EbookCreated
and EbookUpdated
to match the schema
This commit is contained in:
parent
ac7db8d375
commit
f605a4df60
6 changed files with 19 additions and 19 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue