Skip to content
Permalink
Browse files

Merge branch 'pr739' into b-6.1.x

  • Loading branch information
Sieg committed Mar 25, 2020
2 parents 83d53ee + f65dac9 commit 7d7f34ddf96c2772d5dbbb4659bd4641a106a464
Showing with 16 additions and 0 deletions.
  1. +5 −0 CHANGELOG.md
  2. +11 −0 source/Application/Controller/ArticleListController.php
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [6.3.8] - Unreleased

### Fixed
- Port missing resetFilter action [#0007051](https://bugs.oxid-esales.com/view.php?id=7051) [PR-739](https://github.com/OXID-eSales/oxideshop_ce/pull/739)

## [6.3.7] - 2020-03-16

### Deprecated
@@ -345,6 +345,17 @@ public function executefilter()
}
}

/**
* Reset filter.
*/
public function resetFilter()
{
$activeCategory = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('cnid');
$sessionFilter = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('session_attrfilter');
unset($sessionFilter[$activeCategory]);
\OxidEsales\Eshop\Core\Registry::getSession()->setVariable('session_attrfilter', $sessionFilter);
}

/**
* Loads and returns article list of active category.
*

0 comments on commit 7d7f34d

Please sign in to comment.
You can’t perform that action at this time.