Skip to content

Commit

Permalink
fix(webui): browse collection should show all series
Browse files Browse the repository at this point in the history
closes gotson#226
  • Loading branch information
gotson committed Jul 5, 2020
1 parent 2063bed commit 8629ea9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion komga-webui/src/services/komga-collections.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8629ea9

Please sign in to comment.