Skip to content

Commit

Permalink
LPS-122451 Apply the same approach
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-savinov authored and brianchandotcom committed Oct 27, 2020
1 parent 2ca6bc9 commit 0b197df
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -438,11 +438,8 @@ public String getURLViewInContext(
sb.append(groupFriendlyURL);
sb.append(JournalArticleConstants.CANONICAL_URL_SEPARATOR);
sb.append(_article.getUrlTitle(themeDisplay.getLocale()));

if (!_article.isApproved()) {
sb.append(StringPool.SLASH);
sb.append(_article.getId());
}
sb.append(StringPool.SLASH);
sb.append(_article.getId());

return PortalUtil.addPreservedParameters(themeDisplay, sb.toString());
}
Expand Down

0 comments on commit 0b197df

Please sign in to comment.