|
From: | noreply |
Subject: | [myexperiment-hackers] [3376] branches/wf4ever/app/models/pack.rb: Sort pack entries by name or URI |
Date: | Tue, 29 Jan 2013 18:41:40 +0000 (UTC) |
--- branches/wf4ever/app/models/pack.rb 2013-01-29 18:41:31 UTC (rev 3375)
+++ branches/wf4ever/app/models/pack.rb 2013-01-29 18:41:40 UTC (rev 3376)
@@ -80,6 +80,7 @@
@entries << ce
end
+ @entries = @entries.sort_by {|ce| ce.name or ce.uri}
end
end
[Prev in Thread] | Current Thread | [Next in Thread] |