Modified instead of created

This commit is contained in:
apapachristou 2019-05-06 13:50:48 +03:00
parent c2c18d0131
commit 059fbcf343
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
<td *ngIf="activity.status === 0" style="padding-left: 12px">
{{ enumUtils.toDmpStatusString(activity.status) }}
</td>
<td style="padding-left: 12px">{{ activity.creationTime | date: "shortDate" }}</td>
<td style="padding-left: 12px">{{ activity.modifiedTime | date: "shortDate" }}</td>
<td><i class="material-icons more-icon">more_horiz</i></td>
</tr>
</tbody>

View File

@ -26,7 +26,7 @@ export class RecentEditedActivityComponent implements OnInit {
ngOnInit() {
if (this.isAuthenticated()) {
const fields: Array<string> = ["-created"];
const fields: Array<string> = ["-modified"];
const dmpDataTableRequest: DataTableRequest<DmpCriteria> = new DataTableRequest(0, null, { fields: fields });
dmpDataTableRequest.criteria = new DmpCriteria();
dmpDataTableRequest.criteria.like = "";