From: demeritcowboy Date: Thu, 23 Feb 2023 15:06:15 +0000 (-0500) Subject: fix force-url parameters X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cbfe849e7ef7b0bf0323810da3b8d506a8b8f2ce;p=civicrm-core.git fix force-url parameters --- diff --git a/CRM/Case/BAO/Case.php b/CRM/Case/BAO/Case.php index ae7ba35fb0..e255c72a38 100644 --- a/CRM/Case/BAO/Case.php +++ b/CRM/Case/BAO/Case.php @@ -765,7 +765,7 @@ HERESQL; $caseTypes = array_flip($caseTypes); // get statuses as headers for the table - $url = CRM_Utils_System::url('civicrm/case/search', "reset=1&force=1&all=1&status="); + $url = CRM_Utils_System::url('civicrm/case/search', "reset=1&force=1&all=1&case_status_id="); foreach ($caseStatuses as $key => $name) { $caseSummary['headers'][$key]['status'] = $name; $caseSummary['headers'][$key]['url'] = $url . $key; @@ -831,7 +831,7 @@ SELECT civicrm_case.id, case_status.label AS case_status, status_id, civicrm_cas $rows[$res->case_type][$res->case_status] = [ 'count' => 1, 'url' => CRM_Utils_System::url('civicrm/case/search', - "reset=1&force=1&status={$res->status_id}&type={$res->case_type_id}&case_owner={$case_owner}" + "reset=1&force=1&case_status_id={$res->status_id}&case_type_id={$res->case_type_id}&case_owner={$case_owner}" ), ]; }