uupdumpapi: sort search results

This commit is contained in:
osy 2023-07-26 12:45:57 -07:00
parent ce4418a1a6
commit bd9ba1e51e

View file

@ -60,7 +60,7 @@ actor UUPDumpAPI {
}
func fetchBuilds(search: String? = nil) async throws -> UUPBuilds {
return try await makeRequest(endpoint: "listid.php", arguments: ["search": search ?? ""])
return try await makeRequest(endpoint: "listid.php", arguments: ["search": search ?? "", "sortByDate": "1"])
}
func fetchDetails(for uuid: String) async throws -> UUPDetails {