|
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 |
if ( display_extended_attribute(row, 'article_title') !== "" ) { |
| 214 |
}, |
214 |
display += '<span style="display:block"> Article: ' + display_extended_attribute(row, 'article_title') + '</span>'; |
| 215 |
{ |
215 |
} |
| 216 |
"data": "", // title |
216 |
if ( display_extended_attribute(row, 'title') !== "" ) { |
| 217 |
"orderable": false, |
217 |
display += '<span style="display:block"> Title: ' + display_extended_attribute(row, 'title') + '</span>'; |
| 218 |
"render": function(data, type, row, meta) { |
218 |
} |
| 219 |
return display_extended_attribute(row, 'title'); |
219 |
if ( display_extended_attribute(row, 'author') !== "" ) { |
| 220 |
} |
220 |
display += '<span style="display:block"> Author: ' + display_extended_attribute(row, 'author') + '</span>'; |
| 221 |
}, |
221 |
} |
| 222 |
{ |
222 |
if ( display_extended_attribute(row, 'issue') !== "" ) { |
| 223 |
"data": "", // article_title |
223 |
display += '<span style="display:block"> Issue: ' + display_extended_attribute(row, 'issue') + '</span>'; |
| 224 |
"orderable": false, |
224 |
} |
| 225 |
"render": function(data, type, row, meta) { |
225 |
if ( display_extended_attribute(row, 'volume') !== "" ) { |
| 226 |
return display_extended_attribute(row, 'article_title'); |
226 |
display += '<span style="display:block"> Volume: ' + display_extended_attribute(row, 'volume') + '</span>'; |
| 227 |
} |
227 |
} |
| 228 |
}, |
228 |
if ( display_extended_attribute(row, 'year') !== "" ) { |
| 229 |
{ |
229 |
display += '<span style="display:block"> Year: ' + display_extended_attribute(row, 'year') + '</span>'; |
| 230 |
"data": "", // issue |
230 |
} |
| 231 |
"orderable": false, |
231 |
if ( display_extended_attribute(row, 'pages') !== "" ) { |
| 232 |
"render": function(data, type, row, meta) { |
232 |
display += '<span style="display:block"> Pages: ' + display_extended_attribute(row, 'pages') + '</span>'; |
| 233 |
return display_extended_attribute(row, 'issue'); |
233 |
} |
| 234 |
} |
234 |
return display; |
| 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 |
} |
235 |
} |
| 256 |
}, |
236 |
}, |
| 257 |
{ |
237 |
{ |
| 258 |
- |
|
|