diff --git a/module/project/config.php b/module/project/config.php index 855df9305c..654aedf440 100644 --- a/module/project/config.php +++ b/module/project/config.php @@ -54,15 +54,13 @@ $config->project->dtable->fieldList['name']['width'] = 200; $config->project->dtable->fieldList['name']['flex'] = 1; $config->project->dtable->fieldList['name']['fixed'] = 'left'; $config->project->dtable->fieldList['name']['type'] = 'link'; -$config->project->dtable->fieldList['name']['sortType'] = true; $config->project->dtable->fieldList['name']['linkTemplate'] = helper::createLink('project', 'index', 'projectID = {id}'); -$config->project->dtable->fieldList['code']['title'] = $lang->project->code; -$config->project->dtable->fieldList['code']['name'] = 'code'; -$config->project->dtable->fieldList['code']['width'] = 100; -$config->project->dtable->fieldList['code']['flex'] = 0; -$config->project->dtable->fieldList['code']['fixed'] = false; -$config->project->dtable->fieldList['code']['sortType'] = false; +$config->project->dtable->fieldList['code']['title'] = $lang->project->code; +$config->project->dtable->fieldList['code']['name'] = 'code'; +$config->project->dtable->fieldList['code']['width'] = 100; +$config->project->dtable->fieldList['code']['flex'] = 0; +$config->project->dtable->fieldList['code']['fixed'] = false; $config->project->dtable->fieldList['PM']['title'] = $lang->project->PM; $config->project->dtable->fieldList['PM']['name'] = 'PM'; @@ -70,15 +68,15 @@ $config->project->dtable->fieldList['PM']['width'] = '80'; $config->project->dtable->fieldList['PM']['flex'] = 1; $config->project->dtable->fieldList['PM']['fixed'] = false; $config->project->dtable->fieldList['PM']['type'] = 'avatarBtn'; -$config->project->dtable->fieldList['PM']['sortType'] = false; +$config->project->dtable->fieldList['PM']['sortType'] = true; -$config->project->dtable->fieldList['status']['title'] = $lang->project->status; -$config->project->dtable->fieldList['status']['name'] = 'status'; -$config->project->dtable->fieldList['status']['width'] = 75; -$config->project->dtable->fieldList['status']['flex'] = 1; -$config->project->dtable->fieldList['status']['fixed'] = false; -$config->project->dtable->fieldList['status']['type'] = 'status'; -$config->project->dtable->fieldList['status']['sortType'] = true; +$config->project->dtable->fieldList['status']['title'] = $lang->project->status; +$config->project->dtable->fieldList['status']['name'] = 'status'; +$config->project->dtable->fieldList['status']['width'] = 75; +$config->project->dtable->fieldList['status']['flex'] = 1; +$config->project->dtable->fieldList['status']['fixed'] = false; +$config->project->dtable->fieldList['status']['type'] = 'status'; +$config->project->dtable->fieldList['status']['sortType'] = true; $config->project->dtable->fieldList['status']['statusMap'] = $lang->project->statusList; $config->project->dtable->fieldList['hasProduct']['title'] = $lang->project->type; @@ -109,45 +107,40 @@ $config->project->dtable->fieldList['end']['flex'] = 1; $config->project->dtable->fieldList['end']['fixed'] = 'no'; $config->project->dtable->fieldList['end']['type'] = 'date'; -$config->project->dtable->fieldList['teamCount']['title'] = $lang->project->teamCount; -$config->project->dtable->fieldList['teamCount']['name'] = 'teamCount'; -$config->project->dtable->fieldList['teamCount']['width'] = 70; -$config->project->dtable->fieldList['teamCount']['flex'] = 1; -$config->project->dtable->fieldList['teamCount']['fixed'] = 'no'; -$config->project->dtable->fieldList['teamCount']['sortType'] = false; -$config->project->dtable->fieldList['teamCount']['type'] = 'count'; +$config->project->dtable->fieldList['teamCount']['title'] = $lang->project->teamCount; +$config->project->dtable->fieldList['teamCount']['name'] = 'teamCount'; +$config->project->dtable->fieldList['teamCount']['width'] = 70; +$config->project->dtable->fieldList['teamCount']['flex'] = 1; +$config->project->dtable->fieldList['teamCount']['fixed'] = 'no'; +$config->project->dtable->fieldList['teamCount']['type'] = 'count'; -$config->project->dtable->fieldList['estimate']['title'] = $lang->project->estimate; -$config->project->dtable->fieldList['estimate']['name'] = 'estimate'; -$config->project->dtable->fieldList['estimate']['width'] = 70; -$config->project->dtable->fieldList['estimate']['flex'] = 1; -$config->project->dtable->fieldList['estimate']['fixed'] = 'no'; -$config->project->dtable->fieldList['estimate']['sortType'] = false; -$config->project->dtable->fieldList['estimate']['type'] = 'number'; +$config->project->dtable->fieldList['estimate']['title'] = $lang->project->estimate; +$config->project->dtable->fieldList['estimate']['name'] = 'estimate'; +$config->project->dtable->fieldList['estimate']['width'] = 70; +$config->project->dtable->fieldList['estimate']['flex'] = 1; +$config->project->dtable->fieldList['estimate']['fixed'] = 'no'; +$config->project->dtable->fieldList['estimate']['type'] = 'number'; -$config->project->dtable->fieldList['consume']['title'] = $lang->project->consume; -$config->project->dtable->fieldList['consume']['name'] = 'consume'; -$config->project->dtable->fieldList['consume']['width'] = 80; -$config->project->dtable->fieldList['consume']['flex'] = 1; -$config->project->dtable->fieldList['consume']['fixed'] = 'no'; -$config->project->dtable->fieldList['consume']['sortType'] = false; -$config->project->dtable->fieldList['consume']['type'] = 'number'; +$config->project->dtable->fieldList['consume']['title'] = $lang->project->consume; +$config->project->dtable->fieldList['consume']['name'] = 'consume'; +$config->project->dtable->fieldList['consume']['width'] = 80; +$config->project->dtable->fieldList['consume']['flex'] = 1; +$config->project->dtable->fieldList['consume']['fixed'] = 'no'; +$config->project->dtable->fieldList['consume']['type'] = 'number'; -$config->project->dtable->fieldList['progress']['title'] = $lang->project->progress; -$config->project->dtable->fieldList['progress']['name'] = 'progress'; -$config->project->dtable->fieldList['progress']['width'] = 65; -$config->project->dtable->fieldList['progress']['flex'] = 1; -$config->project->dtable->fieldList['progress']['fixed'] = 'no'; -$config->project->dtable->fieldList['progress']['type'] = 'progress'; -$config->project->dtable->fieldList['progress']['sortType'] = false; +$config->project->dtable->fieldList['progress']['title'] = $lang->project->progress; +$config->project->dtable->fieldList['progress']['name'] = 'progress'; +$config->project->dtable->fieldList['progress']['width'] = 65; +$config->project->dtable->fieldList['progress']['flex'] = 1; +$config->project->dtable->fieldList['progress']['fixed'] = 'no'; +$config->project->dtable->fieldList['progress']['type'] = 'progress'; -$config->project->dtable->fieldList['actions']['title'] = $lang->actions; -$config->project->dtable->fieldList['actions']['name'] = 'actions'; -$config->project->dtable->fieldList['actions']['width'] = 165; -$config->project->dtable->fieldList['actions']['flex'] = 0; -$config->project->dtable->fieldList['actions']['fixed'] = 'right'; -$config->project->dtable->fieldList['actions']['type'] = 'actions'; -$config->project->dtable->fieldList['actions']['sortType'] = false; +$config->project->dtable->fieldList['actions']['title'] = $lang->actions; +$config->project->dtable->fieldList['actions']['name'] = 'actions'; +$config->project->dtable->fieldList['actions']['width'] = 165; +$config->project->dtable->fieldList['actions']['flex'] = 0; +$config->project->dtable->fieldList['actions']['fixed'] = 'right'; +$config->project->dtable->fieldList['actions']['type'] = 'actions'; $config->project->dtable->fieldList['actions']['actionsMap']['start']['icon'] = 'icon-play'; $config->project->dtable->fieldList['actions']['actionsMap']['start']['hint'] = $lang->project->start;