File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -241,8 +241,8 @@ public function searchMods(ModSearchOptions $options): PaginatedModList
241
241
null ,
242
242
null ,
243
243
$ options ->getSearchFilter (),
244
- $ options ->getSortField ()?->value ,
245
- $ options ->getSortOrder ()?->value ,
244
+ $ options ->getSortField (),
245
+ $ options ->getSortOrder (),
246
246
null ,
247
247
$ options ->getGameVersionTypeId (),
248
248
$ options ->getAuthorId (),
@@ -320,11 +320,11 @@ public function getModFiles(ModFilesOptions $options): PaginatedFilesList
320
320
$ options ->getOffset (),
321
321
PaginatedFilesList::getAllowedPageSize ($ options ->getOffset (), $ options ->getPageSize ()),
322
322
$ options ->getGameVersion (),
323
- $ options ->getModLoaderType ()?->value ,
323
+ $ options ->getModLoaderType (),
324
324
$ options ->getGameVersionTypeId (),
325
325
$ options ->getOlderThanProjectFileId (),
326
326
$ options ->getReleaseTypes (),
327
- $ options ->getPlatformType ()?->value ,
327
+ $ options ->getPlatformType (),
328
328
), $ options );
329
329
}
330
330
You can’t perform that action at this time.
0 commit comments