diff options
author | Yorhel <git@yorhel.nl> | 2009-01-19 21:05:20 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-01-19 21:05:20 +0100 |
commit | 7a297e0c5fa8658772462034218bb954c2415609 (patch) | |
tree | ad4544dbb49d1e5c077133188c8a9a6e9398c059 | |
parent | e5982af1b4756a22a1c3d2b4f58d671154ee1d9d (diff) |
Made priority field on wishlist sortable
-rw-r--r-- | lib/VNDB/Handler/ULists.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/ULists.pm b/lib/VNDB/Handler/ULists.pm index 9d9fba9d..8f2091db 100644 --- a/lib/VNDB/Handler/ULists.pm +++ b/lib/VNDB/Handler/ULists.pm @@ -104,7 +104,7 @@ sub wishlist { my $f = $self->formValidate( { name => 'p', required => 0, default => 1, template => 'int' }, { name => 'o', required => 0, default => 'a', enum => [ 'a', 'd' ] }, - { name => 's', required => 0, default => 'title', enum => [qw|title added|] }, + { name => 's', required => 0, default => 'title', enum => [qw|title added wstat|] }, { name => 'f', required => 0, default => -1, enum => [ -1..$#{$self->{wishlist_status}} ] }, ); return 404 if $f->{_err}; @@ -158,7 +158,7 @@ sub wishlist { sorturl => "/u$uid/wish?f=$f->{f}", header => [ [ Title => 'title' ], - [ Priority => '' ], + [ Priority => 'wstat' ], [ Added => 'added' ], ], row => sub { |