Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.7
-
Fix Version/s: 4.7.9
-
Component/s: CiviReport
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
How to reproduce:
- If needed, turn off street address filtering in Administer, Localization, Address Settings. (it is turned of by default in a new installation)
- Add a new contact with an address
- Click 'Reports', 'Contact Reports', 'Constituent Summary'
- Click 'filters', and add the name of the street of the address in the 'Street Name' field.
- Click 'Preview report'
- Your new contact is not in the results, while it should be there.
This is probably because the reports searches in street_name, which is empty because street address parsing is turned of.
I suggest to change the code at https://github.com/civicrm/civicrm-core/blob/master/CRM/Report/Form.php#L3981 so that the street_number and street_name filters are replaced by a street_address filter if addres parsing is turned of.