Index: /controller/wpsg_ProduktController.class.php
===================================================================
--- /controller/wpsg_ProduktController.class.php	(revision 5385)
+++ /controller/wpsg_ProduktController.class.php	(revision 5386)
@@ -108,4 +108,7 @@
 				
 			}
+			
+			if (wpsg_isSizedString($strQueryWHERE)) $this->shop->view['hasFilter'] = true;
+			else $this->shop->view['hasFilter'] = false;
 			
 			$strQueryORDER = '';
Index: /mods/wpsg_mod_productgroups.class.php
===================================================================
--- /mods/wpsg_mod_productgroups.class.php	(revision 5385)
+++ /mods/wpsg_mod_productgroups.class.php	(revision 5386)
@@ -212,5 +212,5 @@
 			");
 						
-			$this->shop->view['countProducts'] = $this->db->fetchOne("SELECT COUNT(*) FROM `".WPSG_TBL_PRODUCTS."` AS P WHERE P.`deleted` != '1' AND P.`lang_parent` = 0 ".$GLOBALS['wpsg_produkt_index_query_where']);
+			$this->shop->view['countProducts'] = $this->db->fetchOne("SELECT COUNT(*) FROM `".WPSG_TBL_PRODUCTS."` AS P WHERE P.`deleted` != '1' AND P.`lang_parent` = 0 ");
 			
 			$this->shop->view['arSelect'] = [];
Index: /mods/wpsg_mod_produktbilder.class.php
===================================================================
--- /mods/wpsg_mod_produktbilder.class.php	(revision 5385)
+++ /mods/wpsg_mod_produktbilder.class.php	(revision 5386)
@@ -339,5 +339,8 @@
 			{
 				
-				return $this->shop->getRessourceURL('mods/mod_produktbilder/dummy.png');
+				$file = $this->shop->getRessourcePath('mods/mod_produktbilder/dummy.png');
+				
+				if (!file_exists($file)) return false;
+				else return $this->makeTn(0, $file, $setW, $setH, $mode); 
 				
 			}
@@ -431,9 +434,12 @@
  		 * @param int $setH Angestrebte HÃ¶he des Bildes
  		 * @param String $mode Modus 
+ 		 * 
+ 		 * Funktion kann jetzt auch mit Bildern umgehen, die nicht einem Produkt zugeordnet sind (z.B. dem Dummy Bild)
+ 		 * Einfach als p_id 0 ÃŒbergeben und in $file den kompletten Pfad
   		 */
  		public function makeTn($p_id, $file, $setW, $setH, $mode)
 		{
 			
-			$p_id = $this->shop->getProduktId($p_id);
+			if ($p_id !== 0) $p_id = $this->shop->getProduktId($p_id);
 
 			$uploaddir = $this->getPicPath($p_id);
@@ -441,5 +447,5 @@
 			$url_bilder = $this->getPicPath($p_id, true);
 			
-			if (!file_exists($uploaddir)) mkdir($uploaddir, 0777, true);
+			if ($p_id !== 0 && !file_exists($uploaddir)) mkdir($uploaddir, 0777, true);
 			if (!file_exists($uploaddir_tn)) mkdir($uploaddir_tn, 0777, true);
 			
@@ -449,5 +455,12 @@
 			if ($mode == "" || !isset($mode)) $mode = 's';
 			
-			$src_file = $uploaddir.$file;
+			if ($p_id !== 0) $src_file = $uploaddir.$file;
+			else {
+				
+				$src_file = $file;
+				$file = basename($src_file);
+				
+			}
+			
 			$trg_file = $uploaddir_tn.$mode.'-'.$setW.'-'.$setH.'-'.$file;
 			
Index: /views/js/admin.js
===================================================================
--- /views/js/admin.js	(revision 5385)
+++ /views/js/admin.js	(revision 5386)
@@ -207,5 +207,5 @@
 			{
 			
-				jQuery('.wpsg-filter').slideDown(150, function() { jQuery('.wpsg-filter input').first().focus(); } );
+				jQuery('.wpsg-filter').slideDown(150, function() { jQuery('.wpsg-filter input[type="text"]').first().focus(); } );
 				jQuery(this).addClass('active');
 				
Index: /views/mods/mod_productgroups/produkt_index_filter.phtml
===================================================================
--- /views/mods/mod_productgroups/produkt_index_filter.phtml	(revision 5385)
+++ /views/mods/mod_productgroups/produkt_index_filter.phtml	(revision 5386)
@@ -8,4 +8,4 @@
 
 <?php if (is_array($this->view['productgroups']) && sizeof($this->view['productgroups']) > 0) { ?>
-<?php echo wpsg_drawForm_Select('productgroup', __('Produktgruppe', 'wpsg'), $this->view['arSelect'], wpsg_getStr($_REQUEST['productgroup'])); ?>
+<?php echo wpsg_drawForm_Select('search[pgruppe]', __('Produktgruppe', 'wpsg'), $this->view['arSelect'], wpsg_getStr($_REQUEST['search']['pgruppe'])); ?>
 <?php } ?>
Index: /views/produkt/index.phtml
===================================================================
--- /views/produkt/index.phtml	(revision 5385)
+++ /views/produkt/index.phtml	(revision 5386)
@@ -62,5 +62,5 @@
 				<ul class="nav navbar-nav">
 					<li role="presentation" class="<?php echo ((!isset($_REQUEST['action']))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt"><?php echo __("ProduktÃŒbersicht", "wpsg"); ?></a></li>
-					<li role="presentation" class="wpsg_showhide_filter <?php echo ((wpsg_isSizedString($_REQUEST['s']))?'active':''); ?>"><a href="#" onclick="return false;"><span class="glyphicon glyphicon-search"></span><?php echo __("Produktsuche", "wpsg"); ?></a></li>
+					<li role="presentation" class="wpsg_showhide_filter <?php echo (($this->view['hasFilter'] === true)?'active':''); ?>"><a href="#" onclick="return false;"><span class="glyphicon glyphicon-search"></span><?php echo __("Produktsuche", "wpsg"); ?></a></li>
 			 		<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'add'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=add"><span class="glyphicon glyphicon-plus"></span><?php echo __("HinzufÃŒgen", "wpsg"); ?></a></li>
 				</ul>
@@ -73,8 +73,8 @@
 			</div>
 		</div>
-		<div class="wpsg-filter container-fluid form-horizontal" style="display:<?php echo ((wpsg_isSizedString($_REQUEST['s']))?'block':'none'); ?>;">
+		<div class="wpsg-filter container-fluid form-horizontal" style="display:<?php echo (($this->view['hasFilter'] === true)?'block':'none'); ?>;">
 			<div class="row">
 				<div class="col-lg-4">
-					<form method="POST" id="filter_form">
+					<form method="post" id="filter_form">
 					
 						<input id="wpsg_seite" type="hidden" name="seite" value="<?php echo $this->view['seite']; ?>" class="current-page" />
@@ -169,11 +169,11 @@
 						<?php 
 						
-							$arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($d['id'])); 
-						
-							if (wpsg_isSizedArray($arBilder))
+							$img = $this->callMod('wpsg_mod_produktbilder', 'getProductImage', array($d['id'], 40, 40, 'c'));
+						 
+							if ($img !== false)
 							{
 								
 								echo '<a href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&amp;action=edit&amp;edit_id='.$d['id'].'" title="'.wpsg_translate(__('Produkt fÃŒr Sprache #1# bearbeiten.', 'wpsg'), $d['name']).'">';
-								echo '<img src="'.$this->callMod('wpsg_mod_produktbilder', 'makeTn', array($d['id'], $arBilder[0], 40, 40, 'c')).'" alt="" />';
+								echo '<img src="'.$img.'" alt="" />';
 								echo '</a>';
 								
@@ -229,9 +229,5 @@
 					</td>
 					<td>
-						<?php /* if ($this->get_option('wpsg_preisangaben') == WPSG_NETTO) { ?>
-						<?php echo wpsg_ff($d['preis_netto'], $this->get_option('wpsg_currency')); ?>
-						<?php } else { */?>
 						<?php echo wpsg_ff($d['preis'], $this->get_option('wpsg_currency')); ?>
-						<?php /* } */ ?>
 					</td>				
 				</tr>
