From 6f7746fbedccdc1b4a61c7f39988532757f39847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duret?= Date: Mon, 31 Oct 2022 10:28:42 +0100 Subject: [PATCH] fix(web): update pending link on deprecated pages --- .../src/Header/RessourceStatusCounter/Service/index.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/www/front_src/src/Header/RessourceStatusCounter/Service/index.tsx b/www/front_src/src/Header/RessourceStatusCounter/Service/index.tsx index e32d42e3264..eebbd454658 100755 --- a/www/front_src/src/Header/RessourceStatusCounter/Service/index.tsx +++ b/www/front_src/src/Header/RessourceStatusCounter/Service/index.tsx @@ -118,10 +118,8 @@ const ServiceStatusCounter = (): JSX.Element => { statuses: pendingCriterias.value as Array, }); const pendingServicesLink = use_deprecated_pages - ? '/main.php?p=20201&o=svc&statusFilter=&search=' - : getServiceResourcesUrl({ - statusCriterias: pendingCriterias, - }); + ? '/main.php?p=20201&o=svc&statusFilter=pending&search=' + : getServiceResourcesUrl({ statusCriterias: pendingCriterias }); const changeFilterAndNavigate = ({ link, criterias, toggle }: SelectResourceProps) =>