diff --git a/README.md b/README.md index f6f8de6..8014ac1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -OpenEstate-PHP-Wrapper for CMSms 0.4 -==================================== +OpenEstate-PHP-Wrapper for CMSms 0.4.2 +====================================== This module integrates [OpenEstate-PHP-Export](https://github.com/OpenEstate/OpenEstate-PHP-Export) into a *CMS made simple* based website. @@ -73,6 +73,12 @@ Webseite integriert werden. Changelog --------- +### 0.4.2 + +- Reset filter selection, if a property page is accessed for the first time or + if the website visitor jumps between multiple property pages. + (see [Forum](http://board.openestate.org/viewtopic.php?f=7&t=3329)) + ### 0.4 - Show an error message on the website, if *OpenEstate-ImmoTool* is currently diff --git a/src/OpenEstatePhpWrapper.module.php b/src/OpenEstatePhpWrapper.module.php index 149c59a..e6c140d 100644 --- a/src/OpenEstatePhpWrapper.module.php +++ b/src/OpenEstatePhpWrapper.module.php @@ -2,7 +2,7 @@ /** * PHP-Wrapper für CMSms. * Modul-Klasse, siehe http://www.cmsmadesimple.org/api/class_cms_module.html - * $Id: OpenEstatePhpWrapper.module.php 897 2011-06-15 23:54:58Z andy $ + * $Id: OpenEstatePhpWrapper.module.php 1111 2011-10-21 19:09:58Z andy $ * * @author Andreas Rudolph & Walter Wagner * @copyright 2009-2011, OpenEstate.org @@ -61,7 +61,7 @@ function GetFriendlyName() { * @return string version number (can be something like 1.4rc1) */ function GetVersion() { - return '0.4'; + return '0.4.2'; } /** diff --git a/src/action.default.php b/src/action.default.php index 5271284..347f574 100644 --- a/src/action.default.php +++ b/src/action.default.php @@ -2,7 +2,7 @@ /** * PHP-Wrapper für CMSms. * Darstellung der Wrapper-Ausgabe auf der Webseite. - * $Id: action.default.php 897 2011-06-15 23:54:58Z andy $ + * $Id: action.default.php 1111 2011-10-21 19:09:58Z andy $ * * @author Andreas Rudolph & Walter Wagner * @copyright 2009-2011, OpenEstate.org @@ -104,6 +104,7 @@ } } if ($useDefaultParams) { + $_REQUEST[ IMMOTOOL_PARAM_INDEX_FILTER_CLEAR ] = '1'; if (isset($params['lang'])) $_REQUEST[ IMMOTOOL_PARAM_LANG ] = $params['lang']; if (isset($params['view']))