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 |
- |
|
|