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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt (-3 / +6 lines)
Lines 201-213 Link Here
201
                };
201
                };
202
202
203
                let table_url = '/api/v1/patrons/[% patron.borrowernumber | uri %]/holds';
203
                let table_url = '/api/v1/patrons/[% patron.borrowernumber | uri %]/holds';
204
                if (old){table_url += '?old=1'}
204
                let table_embeds = ['biblio', 'item', 'pickup_library', 'pickup_library.branchname'];
205
                if (old){
206
                    table_url += '?old=1';
207
                    table_embeds.push('deleted_biblio');
208
                }
205
                return $(table_id).kohaTable({
209
                return $(table_id).kohaTable({
206
                    ajax: {
210
                    ajax: {
207
                        url: table_url,
211
                        url: table_url,
208
                    },
212
                    },
209
                    order: [],
213
                    order: [],
210
                    embed: ['biblio', 'deleted_biblio', 'item', 'pickup_library', 'pickup_library.branchname'],
214
                    embed: table_embeds,
211
                    columns: [
215
                    columns: [
212
                        {
216
                        {
213
                            data: "biblio.title:biblio.subtitle:biblio.medium",
217
                            data: "biblio.title:biblio.subtitle:biblio.medium",
214
- 

Return to bug 38395