Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-csv-import
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-csv-import
Commits
dd1a6dcc
Commit
dd1a6dcc
authored
Dec 15, 2016
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Now import sort_order from Projects CSV.
This way it's possible to import tasks for a project
parent
27538551
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
intranet-csv-import-procs.tcl
tcl/intranet-csv-import-procs.tcl
+1
-0
import-im_project.tcl
www/import-im_project.tcl
+1
-1
No files found.
tcl/intranet-csv-import-procs.tcl
View file @
dd1a6dcc
...
...
@@ -41,6 +41,7 @@ ad_proc -public im_csv_import_guess_im_project { } {} {
{
project_lead_id
"Project Manager"
user_name
""
}
{
project_budget
"Budget"
number
""
}
{
project_budget_hours
"Budget Hours"
number
""
}
{
sort_order
"Sort Order"
number
""
}
}
return
$mapping
}
...
...
www/import-im_project.tcl
View file @
dd1a6dcc
...
...
@@ -166,7 +166,6 @@ foreach csv_line_fields $values_list_of_lists {
set planned_units
""
set billable_units
""
set priority
""
set sort_order
""
foreach attribute_name
$attribute
_names
{
set
$attribute
_name
""
...
...
@@ -432,6 +431,7 @@ foreach csv_line_fields $values_list_of_lists {
start_date = :start_date,
end_date = :end_date,
percent_completed = :percent_completed,
sort_order = :sort_order,
on_track_status_id = :on_track_status_id,
project_budget = :project_budget,
project_budget_currency = :project_budget_currency,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment