From 6075514ffa5b59599735c0f5c237d87e2c6a9e29 Mon Sep 17 00:00:00 2001 From: Markos Gogoulos Date: Sat, 7 Feb 2026 12:51:40 +0200 Subject: [PATCH] fix --- cms/version.py | 2 +- .../profile-page/ProfilePagesHeader.js | 19 ++++- .../static/js/pages/ProfileSharedByMePage.js | 74 +++++++++++++++---- .../js/pages/ProfileSharedWithMePage.js | 59 ++++++++++++++- static/js/_commons.js | 2 +- static/js/profile-shared-by-me.js | 2 +- static/js/profile-shared-with-me.js | 2 +- 7 files changed, 138 insertions(+), 22 deletions(-) diff --git a/cms/version.py b/cms/version.py index 448157dd..38921d5d 100644 --- a/cms/version.py +++ b/cms/version.py @@ -1 +1 @@ -VERSION = "7.6" +VERSION = "7.7" diff --git a/frontend/src/static/js/components/profile-page/ProfilePagesHeader.js b/frontend/src/static/js/components/profile-page/ProfilePagesHeader.js index ec86c446..215e4ef5 100644 --- a/frontend/src/static/js/components/profile-page/ProfilePagesHeader.js +++ b/frontend/src/static/js/components/profile-page/ProfilePagesHeader.js @@ -374,6 +374,19 @@ class NavMenuInlineTabs extends React.PureComponent { render() { const isSelectMediaMode = inSelectMediaEmbedMode(); + // Append action=select_media to links when in select mode + const mediaLink = isSelectMediaMode + ? `${LinksContext._currentValue.profile.media}${LinksContext._currentValue.profile.media.includes('?') ? '&' : '?'}action=select_media` + : LinksContext._currentValue.profile.media; + + const sharedByMeLink = isSelectMediaMode + ? `${LinksContext._currentValue.profile.shared_by_me}${LinksContext._currentValue.profile.shared_by_me.includes('?') ? '&' : '?'}action=select_media` + : LinksContext._currentValue.profile.shared_by_me; + + const sharedWithMeLink = isSelectMediaMode + ? `${LinksContext._currentValue.profile.shared_with_me}${LinksContext._currentValue.profile.shared_with_me.includes('?') ? '&' : '?'}action=select_media` + : LinksContext._currentValue.profile.shared_with_me; + return (