[Bps-public-commit] r13977 - in Prophet/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Thu Jul 10 18:14:22 EDT 2008


Author: sartak
Date: Thu Jul 10 18:14:22 2008
New Revision: 13977

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/CLI/Command/Search.pm

Log:
 r64099 at onn:  sartak | 2008-07-10 18:14:16 -0400
 Sort lists by numeric luid instead of uuid


Modified: Prophet/trunk/lib/Prophet/CLI/Command/Search.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI/Command/Search.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI/Command/Search.pm	Thu Jul 10 18:14:22 2008
@@ -38,7 +38,7 @@
     my $search_cb = $self->get_search_callback();
     $records->matching($search_cb);
 
-    for ( sort { $a->uuid cmp $b->uuid } $records->items ) {
+    for ( sort { $a->luid <=> $b->luid } $records->items ) {
         if ( $_->summary_props ) {
             print $_->format_summary . "\n";
         } else {



More information about the Bps-public-commit mailing list