fix: order of books

This commit is contained in:
Julien Froidefond
2025-02-19 22:39:11 +01:00
parent a3a3e149e8
commit 7166a50cd7

View File

@@ -33,7 +33,7 @@ export class SeriesService extends BaseApiService {
const url = this.buildUrl(config, `series/${seriesId}/books`, { const url = this.buildUrl(config, `series/${seriesId}/books`, {
page: page.toString(), page: page.toString(),
size: size.toString(), size: size.toString(),
sort: "metadata.number,asc", sort: "metadata.numberSort,asc",
...(unreadOnly && { read_status: "UNREAD,IN_PROGRESS" }), ...(unreadOnly && { read_status: "UNREAD,IN_PROGRESS" }),
}); });
const headers = this.getAuthHeaders(config); const headers = this.getAuthHeaders(config);