+ Add search block.

This commit is contained in:
caoyanyi
2023-07-11 17:21:41 +08:00
parent 782464a92f
commit efcc16b9fc
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ $cols = array();
foreach($config->release->dtable->defaultFields['linkBug'] as $field) $cols[$field] = zget($config->bug->dtable->fieldList, $field, array());
$cols = array_map(function($col){$col['show'] = true; return $col;}, $cols);
div(setID('searchFormPanel'), set('data-module', 'bug'), searchToggle(set::open(true), set::module('bug')));
dtable
(
set::id('unlinkBugList'),
+2 -1
View File
@@ -11,11 +11,12 @@ declare(strict_types=1);
namespace zin;
$cols = array();
foreach($config->release->dtable->defaultFields['linkStory'] as $field) $cols[$field] = zget($config->story->dtable->fieldList, $field, array());
foreach($config->release->dtable->defaultFields['linkStory'] as $field) $cols[$field] = zget($config->release->dtable->story->fieldList, $field, array());
$cols = array_map(function($col){$col['show'] = true; return $col;}, $cols);
$cols['title']['link'] = $this->createLink('story', 'view', "storyID={id}");
$cols['title']['nestedToggle'] = false;
div(setID('searchFormPanel'), set('data-module', 'story'), searchToggle(set::open(true), set::module('story')));
dtable
(
set::id('unlinkStoryList'),