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