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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt (-1 / +1 lines)
Lines 81-87 Link Here
81
            type: 'GET'
81
            type: 'GET'
82
        });
82
        });
83
        var bookings = $.ajax({
83
        var bookings = $.ajax({
84
            url: '/api/v1/biblios/[% biblionumber | uri %]/bookings',
84
            url: '/api/v1/biblios/[% biblionumber | uri %]/bookings?_per_page=-1',
85
            headers: { 'x-koha-embed': 'patron' },
85
            headers: { 'x-koha-embed': 'patron' },
86
            dataType: 'json',
86
            dataType: 'json',
87
            type: 'GET',
87
            type: 'GET',
(-)a/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js (-3 / +2 lines)
Lines 117-130 $('#placeBookingModal').on('show.bs.modal', function(e) { Link Here
117
117
118
        // Fetch list of bookable items
118
        // Fetch list of bookable items
119
        let itemsFetch = $.ajax({
119
        let itemsFetch = $.ajax({
120
            url: '/api/v1/biblios/' + biblionumber + '/items?bookable=1' + '&_per_page=-1',
120
            url: '/api/v1/biblios/' + biblionumber + '/items?bookable=1' + '?_per_page=-1',
121
            dataType: 'json',
121
            dataType: 'json',
122
            type: 'GET'
122
            type: 'GET'
123
        });
123
        });
124
124
125
        // Fetch list of existing bookings
125
        // Fetch list of existing bookings
126
        let bookingsFetch = $.ajax({
126
        let bookingsFetch = $.ajax({
127
            url: '/api/v1/bookings?biblio_id=' + biblionumber,
127
            url: '/api/v1/bookings?biblio_id=' + biblionumber + '&_per_page=-1',
128
            dataType: 'json',
128
            dataType: 'json',
129
            type: 'GET'
129
            type: 'GET'
130
        });
130
        });
131
- 

Return to bug 36215