Bug 8276: circ history - checked out items are later
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 31 Mar 2015 14:07:43 +0000 (16:07 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 22 Apr 2015 17:37:07 +0000 (14:37 -0300)
If the sort is done on "checkin on", the items currently checked out
should be list after all others.

Test plan:
1/ Go on the checkout history page for a record with checked out items
2/ Sort on the "checkin on" column and confirm that the checked out
items are sorted after/before others depending on the sort order
(asc/desc).

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt

index 50cd561..7b6483c 100644 (file)
@@ -79,7 +79,7 @@ $(document).ready(function() {
                 <td>[% IF ( issue.returndate ) %]
                         <span title="[% issue.returndate %]">[% issue.returndate |$KohaDates with_hours => 1  %]</span>
                     [% ELSE %]
-                        <span title="0000-00-00"></span>
+                        <span title="Checked out"><small>Checked out</small></span>
                     [% END %]</td>
            </tr>
         [% END %]