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 6-19 Link Here
6
    <thead>
6
    <thead>
7
        <tr id="ill_requests_header">
7
        <tr id="ill_requests_header">
8
            <th scope="col">Request ID</th>
8
            <th scope="col">Request ID</th>
9
            <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>
9
            <th scope="col">Request details</th>
10
            <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>
10
            <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>
11
            <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>
12
            <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>
13
            <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>
14
            <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>
15
            <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>
16
            <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>
17
            <th scope="col">Order ID</th>
11
            <th scope="col">Order ID</th>
18
            <th scope="col">Patron</th>
12
            <th scope="col">Patron</th>
19
            <th scope="col">Bibliographic record ID</th>
13
            <th scope="col">Bibliographic record ID</th>
Lines 35-38 Link Here
35
    </thead>
29
    </thead>
36
    <tbody id="illview-body">
30
    <tbody id="illview-body">
37
    </tbody>
31
    </tbody>
38
</table>
32
</table>
(-)a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js (-45 / +10 lines)
Lines 206-257 $(document).ready(function() { Link Here
206
                }
206
                }
207
            },
207
            },
208
            {
208
            {
209
                "data": "", // author
209
                "data": "", // Request details
210
                "orderable": false,
210
                "orderable": false,
211
                "render": function(data, type, row, meta) {
211
                "render": function(data, type, row, meta) {
212
                    return display_extended_attribute(row, 'author');
212
                    let display = '';
213
                }
213
                    display += '<span style="display:block"> Article: ' + display_extended_attribute(row, 'article_title') + '</span>';
214
            },
214
                    display += '<span style="display:block"> Title: ' + display_extended_attribute(row, 'title') + '</span>';
215
            {
215
                    display += '<span style="display:block"> Author: ' + display_extended_attribute(row, 'author') + '</span>';
216
                "data": "", // title
216
                    display += '<span style="display:block"> Issue: ' + display_extended_attribute(row, 'issue') + '</span>';
217
                "orderable": false,
217
                    display += '<span style="display:block"> Volume: ' + display_extended_attribute(row, 'volume') + '</span>';
218
                "render": function(data, type, row, meta) {
218
                    display += '<span style="display:block"> Year: ' + display_extended_attribute(row, 'year') + '</span>';
219
                    return display_extended_attribute(row, 'title');
219
                    display += '<span style="display:block"> Pages: ' + display_extended_attribute(row, 'pages') + '</span>';
220
                }
220
                    return display;
221
            },
222
            {
223
                "data": "", // article_title
224
                "orderable": false,
225
                "render": function(data, type, row, meta) {
226
                    return display_extended_attribute(row, 'article_title');
227
                }
228
            },
229
            {
230
                "data": "", // issue
231
                "orderable": false,
232
                "render": function(data, type, row, meta) {
233
                    return display_extended_attribute(row, 'issue');
234
                }
235
            },
236
            {
237
                "data": "", // volume
238
                "orderable": false,
239
                "render": function(data, type, row, meta) {
240
                    return display_extended_attribute(row, 'volume');
241
                }
242
            },
243
            {
244
                "data": "",  // year
245
                "orderable": false,
246
                "render": function(data, type, row, meta) {
247
                    return display_extended_attribute(row, 'year');
248
                }
249
            },
250
            {
251
                "data": "", // pages
252
                "orderable": false,
253
                "render": function(data, type, row, meta) {
254
                    return display_extended_attribute(row, 'pages');
255
                }
221
                }
256
            },
222
            },
257
            {
223
            {
258
- 

Return to bug 33544