@@ -, +, @@
catalogue detail
- enable sorting by date in items table
---
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -353,7 +353,7 @@
[% IF ( itemdata_ccode ) %]
Collection | [% END %]
Call number |
Status |
- Last seen |
+ Last seen |
Barcode |
[% IF ( volinfo ) %]Serial enumeration / chronology | [% END %]
[% IF ( itemdata_uri ) %]URL | [% END %]
@@ -474,7 +474,7 @@
[% END %]
- [% item.datelastseen | $KohaDates %] |
+ [% item.datelastseen | $KohaDates %] |
[% item.barcode | html %] |
[% IF ( volinfo ) %]
@@ -1100,7 +1100,8 @@
'bPaginate': false,
'bAutoWidth': false,
"aoColumnDefs": [
- { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }
+ { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
+ { "sType": "title-string", "aTargets" : [ "title-string" ] }
]
};
var table = KohaTable(id, dt_parameters, null, 'with_filters');
--
|