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
241241 null ,
242242 null ,
243243 $ options ->getSearchFilter (),
244- $ options ->getSortField ()?->value ,
245- $ options ->getSortOrder ()?->value ,
244+ $ options ->getSortField (),
245+ $ options ->getSortOrder (),
246246 null ,
247247 $ options ->getGameVersionTypeId (),
248248 $ options ->getAuthorId (),
@@ -320,11 +320,11 @@ public function getModFiles(ModFilesOptions $options): PaginatedFilesList
320320 $ options ->getOffset (),
321321 PaginatedFilesList::getAllowedPageSize ($ options ->getOffset (), $ options ->getPageSize ()),
322322 $ options ->getGameVersion (),
323- $ options ->getModLoaderType ()?->value ,
323+ $ options ->getModLoaderType (),
324324 $ options ->getGameVersionTypeId (),
325325 $ options ->getOlderThanProjectFileId (),
326326 $ options ->getReleaseTypes (),
327- $ options ->getPlatformType ()?->value ,
327+ $ options ->getPlatformType (),
328328 ), $ options );
329329 }
330330
You can’t perform that action at this time.
0 commit comments