Skip to content
This repository
Browse code

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...
commit 11b85e988e3ac346c1daaeca09f8e48512e23452 1 parent e59aec3
Ingo Schommer authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  code/controllers/CMSMain.php
2  code/controllers/CMSMain.php
@@ -284,7 +284,7 @@ function SearchForm() {
284 284
 			)
285 285
 			// new TextField('MetaTags', _t('CMSMain.SearchMetaTags', 'Meta tags'))
286 286
 		);
287  
-		$dateGroup->subfieldParam = 'FieldHolder';
  287
+		$dateGroup->setFieldHolderTemplate('FieldGroup_DefaultFieldHolder')->addExtraClass('stacked');
288 288
 		$dateFrom->setConfig('showcalendar', true);
289 289
 		$dateTo->setConfig('showcalendar', true);
290 290
 		$classDropdown->setEmptyString(_t('CMSMain.PAGETYPEANYOPT','Any'));

0 notes on commit 11b85e9

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