Permalink
Browse files

fix screenshot order on ext3 drives

  • Loading branch information...
1 parent 197ef14 commit 383276e2b990e1387b2b27ada9a41905315c0df9 @bobthecow committed Feb 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/default.rb
View
@@ -7,7 +7,7 @@ def item_slug(item=nil)
end
def screenshots
- @items.select {|i| i.identifier =~ %r{^/screenshots/.} && i[:extension] == 'png' }
+ @items.select {|i| i.identifier =~ %r{^/screenshots/.} && i[:extension] == 'png' }.sort_by { |i| i.identifier }
end
def get_genghis_version

0 comments on commit 383276e

Please sign in to comment.