diff --git a/phpwf/plugins/class.yui.php b/phpwf/plugins/class.yui.php index c2d2398e..a276877c 100644 --- a/phpwf/plugins/class.yui.php +++ b/phpwf/plugins/class.yui.php @@ -5275,6 +5275,25 @@ url:strUrl, success:function(html){strReturn = html;}, async:false ) "; } + + if(isset($parameter['lieferadresse']) && !empty($parameter['lieferadresse'])) { + $paramsArray[] = " + ( + a.id IN + ( + SELECT + adresse + FROM + lieferadressen lfadr + WHERE + lfadr.name LIKE '%" . $parameter['lieferadresse'] . "%' OR + lfadr.strasse LIKE '%" . $parameter['lieferadresse'] . "%' OR + lfadr.plz LIKE '%" . $parameter['lieferadresse'] . "%' OR + lfadr.ort LIKE '%" . $parameter['lieferadresse'] . "%' + ) + ) + "; + } if(isset($parameter['abteilung']) && !empty($parameter['abteilung'])) { $paramsArray[] = "a.abteilung LIKE '%".$parameter['abteilung']."%' "; diff --git a/www/pages/content/adresse_table_filter.tpl b/www/pages/content/adresse_table_filter.tpl index 28437af7..551aaecb 100644 --- a/www/pages/content/adresse_table_filter.tpl +++ b/www/pages/content/adresse_table_filter.tpl @@ -62,10 +62,14 @@