View | Details | Raw Unified | Return to bug 10190
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/item-api-client.js (+11 lines)
Lines 18-23 export class ItemAPIClient extends HttpClient { Link Here
18
                }),
18
                }),
19
        };
19
        };
20
    }
20
    }
21
    get itemTypes() {
22
        return {
23
            getAll: (query, params, headers) =>
24
                this.getAll({
25
                    endpoint: "item_types",
26
                    query,
27
                    params,
28
                    headers,
29
                }),
30
        };
31
    }
21
}
32
}
22
33
23
export default ItemAPIClient;
34
export default ItemAPIClient;
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/patron-api-client.js (-1 / +11 lines)
Lines 15-20 export class PatronAPIClient extends HttpClient { Link Here
15
                }),
15
                }),
16
        };
16
        };
17
    }
17
    }
18
    get patronCategories() {
19
        return {
20
            getAll: (query, params, headers) =>
21
                this.getAll({
22
                    endpoint: "patron_categories",
23
                    query,
24
                    params,
25
                    headers,
26
                }),
27
        };
28
    }
18
}
29
}
19
30
20
export default PatronAPIClient;
31
export default PatronAPIClient;
21
- 

Return to bug 10190