Skip to content
Snippets Groups Projects
Commit 55ce1c18 authored by juanf's avatar juanf
Browse files

SSDM-4184 : Bugfix, visualizing correct Registration Date and Modification Date

SVN: 37917
parent 6d52799e
No related branches found
No related tags found
No related merge requests found
...@@ -72,8 +72,8 @@ function AdvancedSearchController(mainController, forceSearch) { ...@@ -72,8 +72,8 @@ function AdvancedSearchController(mainController, forceSearch) {
rowData.entityType = (entity.type)?entity.type.code:""; rowData.entityType = (entity.type)?entity.type.code:"";
rowData.code = entity.code; rowData.code = entity.code;
rowData.permId = (entity.permId)?entity.permId.permId:""; rowData.permId = (entity.permId)?entity.permId.permId:"";
rowData.registrationDate = (entity.registrator && entity.registrator.registrationDate)?Util.getFormatedDate(new Date(entity.registrator.registrationDate)):null; rowData.registrationDate = (entity.registrationDate)?Util.getFormatedDate(new Date(entity.registrationDate)):null;
rowData.modificationDate = (entity.modifier && entity.modifier.registrationDate)?Util.getFormatedDate(new Date(entity.modifier.registrationDate)):null; rowData.modificationDate = (entity.modificationDate)?Util.getFormatedDate(new Date(entity.modificationDate)):null;
rowData.entityObject = entity; rowData.entityObject = entity;
if(entity.identifier) { if(entity.identifier) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment