komf icon indicating copy to clipboard operation
komf copied to clipboard

fix mangaupdates fields

Open timbretimber opened this issue 1 month ago • 0 comments

With the current field names and casing the type filtering doesn't work, also the perPage parameter is ignored. Renamed the relevant fields and serialized the types in SeriesType to have the correct casing, filtering then works as expected. types => type perPage => perpage

Before

{"search":"Manga Title","page":1,"perPage":5,"types":["MANGA","MANHWA","MANHUA","ARTBOOK","DOUJINSHI","FILIPINO","INDONESIAN","THAI","VIETNAMESE","MALAYSIAN","OEL","NORDIC","FRENCH","SPANISH"]}
{"search":"Novel Title","page":1,"perPage":5,"types":["NOVEL"]}

After

{"search":"Manga Title","page":1,"perpage":5,"type":["Manga","Manhwa","Manhua","Artbook","Doujinshi","Filipino","Indonesian","Thai","Vietnamese","Malaysian","OEL","Nordic","French","Spanish"]}
{"search":"Novel Title","page":1,"perpage":5,"type":["Novel"]}

timbretimber avatar Nov 06 '25 00:11 timbretimber