fixed order_by clause
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Aug 2006 16:19:42 +0000 (16:19 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Aug 2006 16:19:42 +0000 (16:19 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5628 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm

index 842ffa1..ee74c04 100644 (file)
@@ -286,7 +286,7 @@ sub fleshed_copy_retrieve2 {
                                [       
                                        { target_copy => $copy->id },
                                        {
-                                               order_by => 'xact_start',
+                                               order_by => { circ => 'xact_start desc' },
                                                limit => 1
                                        }
                                ]