[TYPO3-core] RFC: Fix bug #2968: Hidden fields missing in search form

Franz Holzinger franz at fholzinger.com
Thu Mar 23 21:44:18 CET 2006


Hello Michael,

>Solution:
>Extend pi_indexedsearch to create a whole bunch of hidden fields dynamically.
>
>Bugtracker reference:
>http://bugs.typo3.org/view.php?id=2968
>
>- michael
>  
>
You have changed

-		$markerArray['###HIDDEN_VALUE_TYPE###'] = $this->piVars['type'] ? 1 : 0;
-		$markerArray['###HIDDEN_VALUE_EXT###'] = $this->piVars['ext'] ? 1 : 0;

to

$hiddenFieldMarkerArray['###HIDDEN_VALUE###'] = (string)$this->piVars[$fieldName];

However maybe an empty string should have a value '0' again?


- Franz












More information about the TYPO3-team-core mailing list