Lines 430-436
Link Here
|
430 |
} |
430 |
} |
431 |
}, |
431 |
}, |
432 |
{ |
432 |
{ |
433 |
"data": "biblio.author:biblio.title:biblio.isbn", |
433 |
"data": [% IF Koha.Preference('marcflavour')=='UNIMARC' %]"biblio.author:biblio.title:biblio.isbn:biblio.ean"[% ELSE %]"biblio.author:biblio.title:biblio.isbn"[% END %], |
434 |
"render": function(data, type, row, meta) { |
434 |
"render": function(data, type, row, meta) { |
435 |
var result = ''; |
435 |
var result = ''; |
436 |
if ( row && row.biblio_id != null ) { |
436 |
if ( row && row.biblio_id != null ) { |
Lines 439-444
Link Here
|
439 |
result += _(" by ") + row.biblio.author.escapeHtml(); |
439 |
result += _(" by ") + row.biblio.author.escapeHtml(); |
440 |
if ( row.biblio.isbn != null ) |
440 |
if ( row.biblio.isbn != null ) |
441 |
result += " – " + row.biblio.isbn.escapeHtml(); |
441 |
result += " – " + row.biblio.isbn.escapeHtml(); |
|
|
442 |
[% IF Koha.Preference('marcflavour')=='UNIMARC' %] |
443 |
if ( row.biblio.ean != null ) |
444 |
result += " – EAN:" + row.biblio.ean.escapeHtml(); |
445 |
[% END %] |
442 |
if ( row.biblio.publisher != null ) { |
446 |
if ( row.biblio.publisher != null ) { |
443 |
result += "<br/>" + _("Publisher: ") + row.biblio.publisher.escapeHtml(); |
447 |
result += "<br/>" + _("Publisher: ") + row.biblio.publisher.escapeHtml(); |
444 |
if ( row.biblio.publication_year != null ) { |
448 |
if ( row.biblio.publication_year != null ) { |
445 |
- |
|
|