Skip to content

Commit

Permalink
LPS-133166 Order By Modification date for Docs and Media folders will…
Browse files Browse the repository at this point in the history
… display the Last Post Date
  • Loading branch information
IstvanD committed May 28, 2021
1 parent 2017e42 commit 4f2eee3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -427,7 +427,7 @@ if (portletTitleBasedNavigation && !dlViewEntriesDisplayContext.isRootFolder() &
<liferay-ui:search-container-column-date
cssClass="table-cell-expand-smallest table-cell-ws-nowrap"
name="modified-date"
value="<%= curFolder.getLastPostDate() %>"
value="<%= curFolder.getModifiedDate() %>"
/>
</c:when>
<c:when test='<%= curEntryColumn.equals("action") %>'>
Expand Down
Expand Up @@ -23,7 +23,7 @@ Folder folder = (Folder)row.getObject();
folder = folder.toEscapedModel();
Date modifiedDate = folder.getLastPostDate();
Date modifiedDate = folder.getModifiedDate();
String modifiedDateDescription = LanguageUtil.getTimeDescription(request, System.currentTimeMillis() - modifiedDate.getTime(), true);
%>
Expand Down

0 comments on commit 4f2eee3

Please sign in to comment.