Skip to content

Commit 9a23848

Browse files
authored
feat: Navigate to post stats from authors stats (#23761)
Simplify viewing stats for a particular author's individual posts.
1 parent f71bfbf commit 9a23848

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

WordPress/Classes/ViewRelated/Stats/Shared Views/Stats Detail/SiteStatsDetailsViewModel.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,9 @@ private extension SiteStatsDetailsViewModel {
726726
showDisclosure: true,
727727
childRows: $0.posts.map { StatsTotalRowData(name: $0.title,
728728
data: $0.viewsCount.abbreviatedString(),
729+
postID: $0.postID,
730+
showDisclosure: true,
731+
disclosureURL: $0.postURL,
729732
statSection: .periodAuthors) },
730733
statSection: .periodAuthors)
731734
}

0 commit comments

Comments
 (0)