Lots of Bugfixes (#2977)
This commit is contained in:
parent
8c629695ef
commit
616ed7a75d
26 changed files with 427 additions and 244 deletions
|
|
@ -322,7 +322,7 @@ public class CacheService : ICacheService
|
|||
var path = GetCachePath(chapterId);
|
||||
// NOTE: We can optimize this by extracting and renaming, so we don't need to scan for the files and can do a direct access
|
||||
var files = _directoryService.GetFilesWithExtension(path, Tasks.Scanner.Parser.Parser.ImageFileExtensions)
|
||||
.OrderByNatural(Path.GetFileNameWithoutExtension)
|
||||
//.OrderByNatural(Path.GetFileNameWithoutExtension) // This is already done in GetPageFromFiles
|
||||
.ToArray();
|
||||
|
||||
return GetPageFromFiles(files, page);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue