diff options
author | Yorhel <git@yorhel.nl> | 2009-04-04 13:03:26 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-04-04 13:03:26 +0200 |
commit | de966020940c1b77d99d4c33f0b57688eb1246d8 (patch) | |
tree | 9f6a107ade68a432ab2a4da736b98da72c640d66 /lib/VNDB/Handler | |
parent | a5a6ccec165c9cf34a967596922c5574afa4fe51 (diff) |
Corrected priority ordering on user wishlist
<ImmLff> 2) sort by priority function in the wishlist is reversed,
at least it seems so to me; currently when you click "▾" it sorts
titles from Low to High, and when you click "▴" - first High they Low
Diffstat (limited to 'lib/VNDB/Handler')
-rw-r--r-- | lib/VNDB/Handler/ULists.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/ULists.pm b/lib/VNDB/Handler/ULists.pm index 8f2091db..566a881c 100644 --- a/lib/VNDB/Handler/ULists.pm +++ b/lib/VNDB/Handler/ULists.pm @@ -122,7 +122,7 @@ sub wishlist { my($list, $np) = $self->dbWishListGet( uid => $uid, - order => $f->{s}.' '.($f->{o} eq 'a' ? 'ASC' : 'DESC'), + order => $f->{s}.' '.($f->{o} eq 'a' ? ($f->{s} eq 'wstat' ? 'DESC' : 'ASC' ) : ($f->{s} eq 'wstat' ? 'ASC' : 'DESC')), $f->{f} != -1 ? (wstat => $f->{f}) : (), what => 'vn', results => 50, |