HistoryPager: Unset 'date-range-to' parameter when paging
[lhc/web/wiklou.git] / includes / actions / pagers / HistoryPager.php
index 4e9d8e9..c9c1b51 100644 (file)
@@ -602,6 +602,15 @@ class HistoryPager extends ReverseChronologicalPager {
                }
        }
 
+       /**
+        * @inheritDoc
+        */
+       function getDefaultQuery() {
+               parent::getDefaultQuery();
+               unset( $this->mDefaultQuery['date-range-to'] );
+               return $this->mDefaultQuery;
+       }
+
        /**
         * This is called if a write operation is possible from the generated HTML
         * @param bool $enable