From 76ec1160e82420fbb01972b8700da79d29c93c0a Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 22 Apr 2018 21:36:07 -0400 Subject: [PATCH] Improve input handling in get-cases AJAX API --- CRM/Case/Page/AJAX.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Case/Page/AJAX.php b/CRM/Case/Page/AJAX.php index 2cfba4d6b500..bc09f142f0a4 100644 --- a/CRM/Case/Page/AJAX.php +++ b/CRM/Case/Page/AJAX.php @@ -191,8 +191,8 @@ public static function getCases() { 'type' => 'String', ); $optionalParameters = array( - 'case_type_id' => 'String', - 'status_id' => 'String', + 'case_type_id' => 'CommaSeparatedIntegers', + 'status_id' => 'CommaSeparatedIntegers', 'all' => 'Positive', ); $params = CRM_Core_Page_AJAX::defaultSortAndPagerParams();