If you want to print Advanced search or Search panel parameters on the List page, add PHP code snippet with following code:
global $strTableName;
$srchObj = SearchClause::getSearchObject($strTableName);
$fields = $srchObj->getSearchFields();
if(count($fields))
echo "Search was completed."."<br>";
foreach ($fields as $field=>$value ) {
echo $field.": " .$srchObj->getSearchOption($field);
if ($srchObj->getSearchOption($field)=="Between") {
echo " AND ".$srchObj->getSecondFieldValue($field);
}
echo " ".$srchObj->getFieldValue($field);
echo "<br>";
}
Printing basic search parameters:
global $strTableName;
$srchObj = SearchClause::getSearchObject($strTableName);
$fields = $srchObj->getSearchFields();
if(count($fields))
echo "Search was completed."."<br>";
echo $srchObj->_where["_simpleSrch"];
See also: