Fixed several bugs
This commit is contained in:
@@ -255,7 +255,7 @@ class Entry extends Model
|
||||
|
||||
public function getTotalDownloadsAttribute(): int
|
||||
{
|
||||
return $this->files->sum('download_count');
|
||||
return $this->files->sum('download_count') + $this->old_download_count;
|
||||
}
|
||||
|
||||
public function parseStaffCredits(): ?array {
|
||||
|
||||
Reference in New Issue
Block a user