From af6e1975f293143b9bc7859ca3484a3c3e1c3489 Mon Sep 17 00:00:00 2001 From: Francesco Filicetti Date: Mon, 3 Jun 2024 10:01:39 +0200 Subject: [PATCH] fix: breadcrumbs --- src/unicms_unical_storage_handler/handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unicms_unical_storage_handler/handlers.py b/src/unicms_unical_storage_handler/handlers.py index f111502b..3a12fdc4 100644 --- a/src/unicms_unical_storage_handler/handlers.py +++ b/src/unicms_unical_storage_handler/handlers.py @@ -142,7 +142,7 @@ def as_view(self): @property def get_base_url(self): - url = f'{self.webpath.get_full_path()}/{CMS_STORAGE_BASE_PATH}/' + url = f'/{CMS_STORAGE_BASE_PATH}/' return sanitize_path(url) @property @@ -291,7 +291,7 @@ def as_view(self): @property def parent_url(self): - url = f'{self.webpath.get_full_path()}/{CMS_STORAGE_BASE_PATH}/{CMS_STORAGE_TEACHER_VIEW_PREFIX_PATH}/' + url = f'/{CMS_STORAGE_BASE_PATH}/{CMS_STORAGE_TEACHER_VIEW_PREFIX_PATH}/' return sanitize_path(url) @property