* adjust for canSearch flow field.
This commit is contained in:
@@ -34,6 +34,8 @@ class searchModel extends model
|
||||
|
||||
foreach($fields as $field)
|
||||
{
|
||||
if($field->canSearch == 0) continue;
|
||||
|
||||
/* The built-in modules and user defined modules all have the subStatus field, so set its configuration first. */
|
||||
if($field->field == 'subStatus')
|
||||
{
|
||||
|
||||
@@ -93,7 +93,7 @@ $(function()
|
||||
<?php if(!empty($appendFields)):?>
|
||||
<?php $this->loadModel('flow');?>
|
||||
<?php foreach($appendFields as $appendField):?>
|
||||
<td><?php echo $this->flow->buildControl($appendField, $case->{$appendField->field}, "{$appendField->field}[$key]");?></td>
|
||||
<td><?php echo $this->flow->buildControl($appendField, zget($case, $appendField->field, ''), "{$appendField->field}[$key]");?></td>
|
||||
<?php endforeach;?>
|
||||
<?php endif;?>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user