fix(webui): browse collection should show all series

closes #226
This commit is contained in:
Gauthier Roebroeck 2020-07-05 17:14:34 +08:00
parent 2063bede25
commit 8629ea9936

View file

@ -80,7 +80,10 @@ export default class KomgaCollectionsService {
async getSeries (collectionId: number, pageRequest?: PageRequest): Promise<Page<SeriesDto>> {
try {
return (await this.http.get(`${API_COLLECTIONS}/${collectionId}/series`)).data
const params = { ...pageRequest }
return (await this.http.get(`${API_COLLECTIONS}/${collectionId}/series`, {
params: params,
})).data
} catch (e) {
let msg = 'An error occurred while trying to retrieve series'
if (e.response.data.message) {