Bug 28854: (follow-up) Restore last seen date formatting
We lost the date formatting somewhere along the line with rebases, this patch restores the call to $date for last seen date. Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
7d0cd2ebae
commit
b8a2fdcd48
1 changed files with 1 additions and 1 deletions
|
@ -1699,7 +1699,7 @@ Note that permanent location is a code, and location may be an authval.
|
|||
"orderable": true,
|
||||
"render": function(data, type, row, meta) {
|
||||
if ( row.lost_status == bundle_lost_value ) {
|
||||
let out = '<span class="lost">' + _("Last seen") + ': ' + row.last_seen_date + '</span>';
|
||||
let out = '<span class="lost">' + _("Last seen") + ': ' + $date(row.last_seen_date) + '</span>';
|
||||
if ( row.return_claim ) {
|
||||
out = out + '<span class="claims_return">' + _("Claims returned by") + ': ' + $patron_to_html( row.return_claim.patron, { display_cardnumber: false, url: true } ) + '</span>';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue