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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table.inc (-9 / +3 lines)
Lines 9-22 Link Here
9
        <tr id="ill_requests_header">
9
        <tr id="ill_requests_header">
10
            <th scope="col">Request ID</th>
10
            <th scope="col">Request ID</th>
11
            <th scope="col">Batch</th>
11
            <th scope="col">Batch</th>
12
            <th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="author"         data-related-search-on="value">Author</th>
12
            <th scope="col">Request details</th>
13
            <th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="title"         data-related-search-on="value">Title</th>
13
            <th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="type" data-related-search-on="value">Request type</th>
14
            <th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="article_title" data-related-search-on="value">Article title</th>
15
            <th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="issue"         data-related-search-on="value">Issue</th>
16
            <th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="volume"        data-related-search-on="value">Volume</th>
17
            <th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="year"          data-related-search-on="value">Year</th>
18
            <th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="pages"         data-related-search-on="value">Pages</th>
19
            <th scope="col" data-datatype="related-object" data-related="extended_attributes" data-related-key="type" data-related-value="type"          data-related-search-on="value">Request type</th>
20
            <th scope="col">Order ID</th>
14
            <th scope="col">Order ID</th>
21
            <th scope="col">Patron</th>
15
            <th scope="col">Patron</th>
22
            <th scope="col">Bibliographic record ID</th>
16
            <th scope="col">Bibliographic record ID</th>
Lines 38-41 Link Here
38
    </thead>
32
    </thead>
39
    <tbody id="illview-body">
33
    <tbody id="illview-body">
40
    </tbody>
34
    </tbody>
41
</table>
35
</table>
(-)a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js (-46 / +24 lines)
Lines 228-280 $(document).ready(function() { Link Here
228
                        : "";
228
                        : "";
229
                }
229
                }
230
            },
230
            },
231
            {
231
                "data": "", // Request details
232
                "data": "", // author
233
                "orderable": false,
234
                "render": function(data, type, row, meta) {
235
                    return display_extended_attribute(row, 'author');
236
                }
237
            },
238
            {
239
                "data": "", // title
240
                "orderable": false,
241
                "render": function(data, type, row, meta) {
242
                    return display_extended_attribute(row, 'title');
243
                }
244
            },
245
            {
246
                "data": "", // article_title
247
                "orderable": false,
248
                "render": function(data, type, row, meta) {
249
                    return display_extended_attribute(row, 'article_title');
250
                }
251
            },
252
            {
253
                "data": "", // issue
254
                "orderable": false,
255
                "render": function(data, type, row, meta) {
256
                    return display_extended_attribute(row, 'issue');
257
                }
258
            },
259
            {
260
                "data": "", // volume
261
                "orderable": false,
262
                "render": function(data, type, row, meta) {
263
                    return display_extended_attribute(row, 'volume');
264
                }
265
            },
266
            {
267
                "data": "",  // year
268
                "orderable": false,
232
                "orderable": false,
269
                "render": function(data, type, row, meta) {
233
                "render": function(data, type, row, meta) {
270
                    return display_extended_attribute(row, 'year');
234
                    let display = '';
271
                }
235
                    if ( display_extended_attribute(row, 'article_title') !== "" ) {
272
            },
236
                        display += '<span style="display:block"> Article: ' + display_extended_attribute(row, 'article_title') + '</span>';
273
            {
237
                    }
274
                "data": "", // pages
238
                    if ( display_extended_attribute(row, 'title') !== "" ) {
275
                "orderable": false,
239
                        display += '<span style="display:block"> Title: ' + display_extended_attribute(row, 'title') + '</span>';
276
                "render": function(data, type, row, meta) {
240
                    }
277
                    return display_extended_attribute(row, 'pages');
241
                    if ( display_extended_attribute(row, 'author') !== "" ) {
242
                        display += '<span style="display:block"> Author: ' + display_extended_attribute(row, 'author') + '</span>';
243
                    }
244
                    if ( display_extended_attribute(row, 'issue') !== "" ) {
245
                        display += '<span style="display:block"> Issue: ' + display_extended_attribute(row, 'issue') + '</span>';
246
                    }
247
                    if ( display_extended_attribute(row, 'volume') !== "" ) {
248
                        display += '<span style="display:block"> Volume: ' + display_extended_attribute(row, 'volume') + '</span>';
249
                    }
250
                    if ( display_extended_attribute(row, 'year') !== "" ) {
251
                        display += '<span style="display:block"> Year: ' + display_extended_attribute(row, 'year') + '</span>';
252
                    }
253
                    if ( display_extended_attribute(row, 'pages') !== "" ) {
254
                        display += '<span style="display:block"> Pages: ' + display_extended_attribute(row, 'pages') + '</span>';
255
                    }
256
                    return display;
278
                }
257
                }
279
            },
258
            },
280
            {
259
            {
281
- 

Return to bug 33544