|
Lines 235-241
$(document).ready(function() {
Link Here
|
| 235 |
if ( display_extended_attribute(row, 'article_title') !== "" ) { |
235 |
if ( display_extended_attribute(row, 'article_title') !== "" ) { |
| 236 |
display += '<span style="display:block"> Article: ' + display_extended_attribute(row, 'article_title') + '</span>'; |
236 |
display += '<span style="display:block"> Article: ' + display_extended_attribute(row, 'article_title') + '</span>'; |
| 237 |
} |
237 |
} |
| 238 |
if ( display_extended_attribute(row, 'title') !== "" ) { |
238 |
if ( row.biblio_id !== null ) { |
|
|
239 |
display += '<span style="display:block"> Title: ' + $biblio_to_html(row.biblio, { link: 1 }) + '</span>'; |
| 240 |
} else if ( display_extended_attribute(row, 'title') !== "" ) { |
| 239 |
display += '<span style="display:block"> Title: ' + display_extended_attribute(row, 'title') + '</span>'; |
241 |
display += '<span style="display:block"> Title: ' + display_extended_attribute(row, 'title') + '</span>'; |
| 240 |
} |
242 |
} |
| 241 |
if ( display_extended_attribute(row, 'author') !== "" ) { |
243 |
if ( display_extended_attribute(row, 'author') !== "" ) { |
|
Lines 274-289
$(document).ready(function() {
Link Here
|
| 274 |
"data": "patron.firstname:patron.surname:patron.cardnumber", |
276 |
"data": "patron.firstname:patron.surname:patron.cardnumber", |
| 275 |
"render": function(data, type, row, meta) { |
277 |
"render": function(data, type, row, meta) { |
| 276 |
return (row.patron) ? $patron_to_html( row.patron, { display_cardnumber: true, url: true } ) : ''; } }, |
278 |
return (row.patron) ? $patron_to_html( row.patron, { display_cardnumber: true, url: true } ) : ''; } }, |
| 277 |
{ |
|
|
| 278 |
"data": "biblio_id", |
| 279 |
"orderable": true, |
| 280 |
"render": function(data, type, row, meta) { |
| 281 |
if ( data === null ) { |
| 282 |
return ""; |
| 283 |
} |
| 284 |
return $biblio_to_html(row.biblio, { biblio_id_only: 1, link: 1 }); |
| 285 |
} |
| 286 |
}, |
| 287 |
{ |
279 |
{ |
| 288 |
"data": "library.name", |
280 |
"data": "library.name", |
| 289 |
"orderable": true, |
281 |
"orderable": true, |
| 290 |
- |
|
|