* adjust for canSearch flow field.

This commit is contained in:
z
2020-07-22 17:06:16 +08:00
parent 266a87d40b
commit 96980aee50
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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')
{
+1 -1
View File
@@ -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>