Fix country filters - custom filters with type select now modified to nextmatch-filterheader, not regular select

This commit is contained in:
Nathan Gray 2013-06-24 20:49:27 +00:00
parent 17634bd72a
commit bcbc42135d

View File

@ -1087,6 +1087,11 @@ class etemplate_widget_nextmatch_customfilter extends etemplate_widget_transform
self::$transformation['type'] = $this->attrs['type'] = 'nextmatch-entryheader';
break;
default:
list($type, $subtype) = explode('-',$this->attrs['type'],2);
if($type == 'select')
{
$this->attrs['type'] = 'nextmatch-filterheader';
}
self::$transformation['type'] = $this->attrs['type'];
}
$form_name = self::form_name($cname, $this->id, $expand);