Skip to content
Browse files

Fixed "from"/"to" filter field widths

Removed ineffective FieldGroup->subfieldParam setting,
replaced with a specialised template, as well as a new "stacked" styling
(both added to framework codebase)
  • Loading branch information...
1 parent e59aec3 commit 11b85e988e3ac346c1daaeca09f8e48512e23452 @chillu chillu committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controllers/CMSMain.php
2 code/controllers/CMSMain.php
@@ -284,7 +284,7 @@ function SearchForm() {
// new TextField('MetaTags', _t('CMSMain.SearchMetaTags', 'Meta tags'))
- $dateGroup->subfieldParam = 'FieldHolder';
+ $dateGroup->setFieldHolderTemplate('FieldGroup_DefaultFieldHolder')->addExtraClass('stacked');
$dateFrom->setConfig('showcalendar', true);
$dateTo->setConfig('showcalendar', true);

0 comments on commit 11b85e9

Please sign in to comment.
Something went wrong with that request. Please try again.