[Jifty-commit] r2063 - jifty/trunk/lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Oct 24 20:51:28 EDT 2006


Author: audreyt
Date: Tue Oct 24 20:51:27 2006
New Revision: 2063

Modified:
   jifty/trunk/lib/Jifty/Response.pm

Log:
* Jifty::Response: Ensure consistent ordering from monikers.

Modified: jifty/trunk/lib/Jifty/Response.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Response.pm	(original)
+++ jifty/trunk/lib/Jifty/Response.pm	Tue Oct 24 20:51:27 2006
@@ -95,7 +95,7 @@
 sub messages {
     my $self = shift;
     my %results = $self->results;
-    return map {$_, $results{$_}->message} grep {defined $results{$_}->message and length $results{$_}->message} keys %results;
+    return map {$_, $results{$_}->message} grep {defined $results{$_}->message and length $results{$_}->message} sort keys %results;
 }
 
 =head2 error [MESSAGE]


More information about the Jifty-commit mailing list