Fix URLs for the Contributions Account plugin when sorting.

This commit is contained in:
Colin Kuskie 2009-02-17 01:07:33 +00:00
parent e6e183f407
commit 7194107900
2 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,7 @@
- fixed #9746: Shop: Add a new address unneeded extra click
- fixed #9747: Account Contributions: URLs are wrong.
- fixed #9749: Account Manager: AIM link
- fixed #9751: Account Manager: problem sorting in Contributions
7.6.11
- fixed: Asset Manager can generate URLs that are too long

View file

@ -145,6 +145,7 @@ sub www_view {
#Set the uid just in case;
#$self->uid($userId);
#Deal with sort order
my $sortBy = $session->form->get("sortBy") || "creationDate";
my $sort_url = ($sortBy)?";sortBy=$sortBy":"";
@ -158,7 +159,7 @@ sub www_view {
my $rpp_url = ";rpp=$rpp";
#Cache the base url
my $contribsUrl = $self->getUrl("module=contributions;do=view;uid=$userId");
my $contribsUrl = $self->getUrl(undef, 'appendUID');
#Create sortBy headers
$var->{'title_url' } = $contribsUrl.";sortBy=title".$sortDir_url.$rpp_url;