Commit 288841b3 authored by Tristan Cavelier's avatar Tristan Cavelier

Add/change some metadata mapping on erp5.taskview

parent 2ea009dd
...@@ -126,10 +126,12 @@ ...@@ -126,10 +126,12 @@
constant.mapping_erp5_to_jio[erp5_type] = jio_type; constant.mapping_erp5_to_jio[erp5_type] = jio_type;
} }
addMetadataMapping("type", "portal_type"); addMetadataMapping("type", "portal_type");
addMetadataMapping("state", "translated_simulation_state_title"); addMetadataMapping("state", "translated_simulation_state_title_text");
addMetadataMapping("project", "source_project_title"); addMetadataMapping("project", "source_project_title_text");
addMetadataMapping("start", "start_date"); addMetadataMapping("start", "start_date");
addMetadataMapping("stop", "stop_date"); addMetadataMapping("stop", "stop_date");
addMetadataMapping("modified", "modification_date");
addMetadataMapping("date", "creation_date");
// addMetadataMapping("location", "destination_title"); // addMetadataMapping("location", "destination_title");
// addMetadataMapping("source", "source_title"); // addMetadataMapping("source", "source_title");
...@@ -352,7 +354,7 @@ ...@@ -352,7 +354,7 @@
"portal_type", "portal_type",
"title", "title",
"reference", "reference",
"translated_simulation_state_title", "translated_simulation_state_title_text",
"description" "description"
], ],
limit: options.limit limit: options.limit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment