myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [1997] branches/event_logging/app/helpers/applica


From: noreply
Subject: [myexperiment-hackers] [1997] branches/event_logging/app/helpers/application_helper.rb: event_logging: applied fix that Danius made in trunk for " filter_contributables" helper method.
Date: Thu, 20 Nov 2008 11:32:21 -0500 (EST)

Revision
1997
Author
alekses6
Date
2008-11-20 11:32:21 -0500 (Thu, 20 Nov 2008)

Log Message

event_logging: applied fix that Danius made in trunk for "filter_contributables" helper method.

Modified Paths

Diff

Modified: branches/event_logging/app/helpers/application_helper.rb (1996 => 1997)


--- branches/event_logging/app/helpers/application_helper.rb	2008-11-20 15:55:04 UTC (rev 1996)
+++ branches/event_logging/app/helpers/application_helper.rb	2008-11-20 16:32:21 UTC (rev 1997)
@@ -319,7 +319,7 @@
     if sort
       rtn.each do |k, v|
         v.sort! { |a, b|
-          a.title.downcase <=> b.title.downcase
+          at=a.title||""; bt=b.title||""; at.downcase <=> bt.downcase
         }
       end
     end

reply via email to

[Prev in Thread] Current Thread [Next in Thread]