Permalink
Browse files

Sort order of the releases on the author page changed to reverse chro…

…nological.

Usually when i look at an author page i want to see what they've been up to recently. I never had a reason for looking at an alphabetical listing there and honestly cannot even think of a use case for that. As such i think reverse chrnological order by default would be an improvement.
  • Loading branch information...
wchristian committed Jul 23, 2011
1 parent e875fea commit ba32ebbe3a5506b70d39b84f1a3eeaeb1cba0252
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/MetaCPAN/Web/Controller/Author.pm
@@ -23,7 +23,8 @@ sub index : Path : Args(1) {
}
},
sort => [
- 'distribution', { 'version_numified' => { reverse => \1 } }
+ { date => "desc" },
+ { 'version_numified' => { reverse => \1 } },
],
fields => [qw(author distribution name status abstract date)],
size => 1000,

0 comments on commit ba32ebb

Please sign in to comment.