From: Aaron Schulz Date: Fri, 29 Aug 2008 05:19:05 +0000 (+0000) Subject: * Fix issue with "next" link going to the same place when date given (bug 15364) X-Git-Tag: 1.31.0-rc.0~45574 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=e00eba8f478e1ac79ddd45931be039e4fa5ada92;p=lhc%2Fweb%2Fwiklou.git * Fix issue with "next" link going to the same place when date given (bug 15364) * Remove some cruft in ContribsPager --- diff --git a/includes/Pager.php b/includes/Pager.php index c4d55b6ea6..f3d99f63da 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -352,6 +352,8 @@ abstract class IndexPager implements Pager { unset( $this->mDefaultQuery['offset'] ); unset( $this->mDefaultQuery['limit'] ); unset( $this->mDefaultQuery['order'] ); + unset( $this->mDefaultQuery['month'] ); + unset( $this->mDefaultQuery['year'] ); } return $this->mDefaultQuery; } diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index c9798e2fc4..74c5f3ad4d 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -30,8 +30,6 @@ class ContribsPager extends ReverseChronologicalPager { function getDefaultQuery() { $query = parent::getDefaultQuery(); $query['target'] = $this->target; - $query['month'] = $this->mMonth; - $query['year'] = $this->mYear; return $query; }