summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/ULists.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-01-19 21:05:20 +0100
committerYorhel <git@yorhel.nl>2009-01-19 21:05:20 +0100
commit7a297e0c5fa8658772462034218bb954c2415609 (patch)
treead4544dbb49d1e5c077133188c8a9a6e9398c059 /lib/VNDB/Handler/ULists.pm
parente5982af1b4756a22a1c3d2b4f58d671154ee1d9d (diff)
Made priority field on wishlist sortable
Diffstat (limited to 'lib/VNDB/Handler/ULists.pm')
-rw-r--r--lib/VNDB/Handler/ULists.pm4
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 {