added necessary order_by clause to circ retrievel in checkout history call
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 13 Feb 2006 23:14:27 +0000 (23:14 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 13 Feb 2006 23:14:27 +0000 (23:14 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3057 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ.pm

index d066201..f52d617 100644 (file)
@@ -266,7 +266,7 @@ sub view_circ_patrons {
 
        my $circs = $U->storagereq(
                'open-ils.storage.direct.action.circulation.search_where.atomic',
-                       { target_copy => $copyid  }, { limit => $count } );
+                       { target_copy => $copyid  }, { limit => $count, order_by => "xact_start" } );
 
        my @users;
        push(@users, $_->usr) for @$circs;