diff --git a/services/web/frontend/js/features/plans/group-plan-modal/index.js b/services/web/frontend/js/features/plans/group-plan-modal/index.js index 0c2ce8aa24..ec4cea4f50 100644 --- a/services/web/frontend/js/features/plans/group-plan-modal/index.js +++ b/services/web/frontend/js/features/plans/group-plan-modal/index.js @@ -60,7 +60,8 @@ modalEl history.replaceState(null, document.title, path + '#groups') }) .on('hidden.bs.modal', function () { - history.replaceState(null, document.title, window.location.pathname) + const path = `${window.location.pathname}${window.location.search}` + history.replaceState(null, document.title, path) }) function showGroupPlanModal() {