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

spang at bestpractical.com spang at bestpractical.com
Sat Sep 13 17:18:38 EDT 2008


Author: spang
Date: Sat Sep 13 17:18:37 2008
New Revision: 15963

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

Log:
 r49787 at loki:  spang | 2008-09-13 16:28:24 -0400
 don't break the default search order


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	Sat Sep 13 17:18:37 2008
@@ -14,7 +14,7 @@
     required => 0,
     # default subs are executed immediately, hence the weird syntax for coderefs
     default => sub { sub {
-            my @records = @_;
+            my @records = @{ $_[0] };
             return (sort { $a->luid <=> $b->luid } @records);
         } },
     documentation => 'A subroutine which takes a list of records and returns them sorted in some way.',



More information about the Bps-public-commit mailing list