Skip to content

Commit 7df7ec8

Browse files
Fix User DisplayName cache (#183)
Co-authored-by: Mike Alhayek <[email protected]>
1 parent 223b15a commit 7df7ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modules/CrestApps.OrchardCore.Users/Views/ContentsMeta_SummaryAdmin_User.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
}
2323
@if (!string.IsNullOrEmpty(contentItem.Author))
2424
{
25-
<shape Type="ContentsMeta_SummaryAdmin_Author" prop-authorName="@(contentItem.Author)" cache-id="content-author" cache-context="user" cache-tag="@(UsersConstants.UserDisplayNameCacheTag),@(UsersConstants.UserDisplayNameCacheTag):@contentItem.Author" />
25+
<shape Type="ContentsMeta_SummaryAdmin_Author" prop-authorName="@(contentItem.Author)" cache-id="content-author-@(contentItem.Author)" cache-tag="@(UsersConstants.UserDisplayNameCacheTag),@(UsersConstants.UserDisplayNameCacheTag):@contentItem.Author" />
2626
}

0 commit comments

Comments
 (0)