Bug 28007: Replace obsolete title-string sorting: Tools templates
[srvgit] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / inventory.tt
index a2c3aed..5be6639 100644 (file)
         <tr>
             [% UNLESS uploadedbarcodesflag %]<th>Seen</th>[% END %]
             <th>Barcode</th>
-            <th class="title-string">Call number</th>
+            <th>Call number</th>
             <th>Library</th>
             <th class="anti-the">Title</th>
             <th>Not for loan</th>
             <th>Lost</th>
             <th>Damaged</th>
             <th>Withdrawn</th>
-            <th class="title-string">Last seen</th>
+            <th>Last seen</th>
             <th>Problems</th>
         </tr>
     </thead>
             <td>
             [% result.barcode | html %]
             </td>
-            <td>
-                <span title="[% result.cn_sort | html %]">[% result.itemcallnumber | html %]</span>
+            <td data-order="[% result.cn_sort | html %]">
+                [% result.itemcallnumber | html %]
             </td>
             <td>
                 [% Branches.GetName( result.homebranch ) | html %]
             <td>
             [% result.withdrawn | html %]
             </td>
-            <td>
-                <span title="[% result.datelastseen | html %]">[% result.datelastseen | $KohaDates%]</span>
+            <td data-order="[% result.datelastseen | html %]">
+                [% result.datelastseen | $KohaDates%]
             </td>
             <td>
             [% FOREACH problem IN result.problems %]
                     // first column contains checkboxes
                     "aoColumnDefs": [
                         { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
-                        { "bSortable": false, "bSearchable": false, "aTargets": [ 0 ] },
-                        { "sType": "title-string", "aTargets" : [ "title-string" ] },
+                        { "bSortable": false, "bSearchable": false, "aTargets": [ 0 ] }
                     ],
                     // 3rd column is callnumber
                     "aaSorting": [[ 2, "asc" ]],