diff --git a/Shoko.Server/API/v3/Controllers/FileController.cs b/Shoko.Server/API/v3/Controllers/FileController.cs index d370819e7..3c1c2b721 100644 --- a/Shoko.Server/API/v3/Controllers/FileController.cs +++ b/Shoko.Server/API/v3/Controllers/FileController.cs @@ -106,7 +106,8 @@ public ActionResult> Search([FromRoute] string query, // Search. var searched = RepoFactory.VideoLocal.GetAll() .Search(query, tuple => tuple.Places.Select(place => place?.FilePath).Where(path => path != null), fuzzy) - .Select(result => result.Result).Skip((page-1)*pageSize).Take(pageSize).ToList(); + .Select(result => result.Result) + .ToList(); return ModelHelper.FilterFiles(searched, User, pageSize, page, include, exclude, include_only, sortOrder, includeDataFrom); }