Index: /changelog
===================================================================
--- /changelog	(revision 7860)
+++ /changelog	(revision 7861)
@@ -437,2 +437,3 @@
 - Bugfix: Standardland lÃ€sst sich wieder speichern
 - Bugfix: Login Widget wieder verwendbar in aktueller WP Version
+- Bugfix: Fehlber bei der Suche nach Produktgruppen behoben
Index: /mods/mod_productgroups/wpsg_productgroup.php
===================================================================
--- /mods/mod_productgroups/wpsg_productgroup.php	(revision 7860)
+++ /mods/mod_productgroups/wpsg_productgroup.php	(revision 7861)
@@ -107,6 +107,5 @@
 		 * ZÃ€hlt die Bestellungen anhand des Filters
 		 */
-		public static function count($arFilter)
-		{
+		public static function count($arFilter) {
 
 			list($strQuerySELECT, $strQueryWHERE, $strQueryJOIN, $strQueryHAVING, $strQueryORDER) = self::getQueryParts($arFilter);
@@ -175,6 +174,5 @@
 		} // public function find($arQuery = array())
 
-		public static function getQueryParts($arFilter = array())
-		{
+		public static function getQueryParts($arFilter = array()) {
 
 			$strQuerySELECT = "";
@@ -183,4 +181,6 @@
 			$strQueryHAVING = "";
 
+			if (wpsg_isSizedString($arFilter['s'])) $strQueryWHERE .= " AND PG.`name` LIKE '%".wpsg_q($arFilter['s'])."%' ";
+
 			if (wpsg_isSizedString($arFilter['order'], 'name')) { $strQueryORDER = " PG.`name` "; }
 			else if (wpsg_isSizedString($arFilter['order'], 'template_file')) { $strQueryORDER = " PG.`template_file` "; }
Index: /mods/wpsg_mod_productgroups.class.php
===================================================================
--- /mods/wpsg_mod_productgroups.class.php	(revision 7860)
+++ /mods/wpsg_mod_productgroups.class.php	(revision 7861)
@@ -665,13 +665,10 @@
 			$this->shop->view['pages'] = 1;
 
-			if (wpsg_isSizedArray($_REQUEST['filter']))
-			{
+			if (wpsg_isSizedArray($_REQUEST['filter'])) {
 
 				$this->shop->view['arFilter'] = $_REQUEST['filter'];
 				$this->shop->view['hasFilter'] = true;
 
-			}
-			else if (wpsg_isSizedArray($_SESSION['wpsg']['backend']['customergroup']['arFilter']))
-			{
+			} else if (wpsg_isSizedArray($_SESSION['wpsg']['backend']['customergroup']['arFilter'])) {
 
 				//$this->shop->view['arFilter'] = $_SESSION['wpsg']['backend']['customer']['arFilter'];
