+ Add search block.
This commit is contained in:
@@ -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'),
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user