Details
Description
CiviCRM 4.1.1. Reproduced on drupal.demo.civicrm.org
Bug in Search builder when CiviCase record is searched.
Entering the record of type "Case" and searching by "Case Status", does not produce the required output. For example: Case Status = Open or Case Status = 1 returns all the cases irrespective of the Status filter.
The patch attached modifies the "CRM/Case/BAO/Query.php" file to correct the where clause formation for CiviCase records for the Status filter.
Could have submitted a complete patch but found CRM-10190 already closed.