backporting changes of CRM-17836 in 4.6
authormonishdeb <monish.deb@webaccessglobal.com>
Thu, 21 Jan 2016 19:56:57 +0000 (01:26 +0530)
committereileenmcnaugton <eileen@fuzion.co.nz>
Thu, 28 Jan 2016 18:46:44 +0000 (07:46 +1300)
commit3acb37cc94521fb0bb19e985eaf89a9477a064e3
tree0a812bad28ec44ed216938614b2f87b97a32cfc1
parent8660ccb5fd735461182106f4e12a78c02736f7cd
backporting changes of CRM-17836 in 4.6

----------------------------------------
* CRM-17836: custom fields attached to relationships are unsearchable
  https://issues.civicrm.org/jira/browse/CRM-17836
CRM/Contact/BAO/Query.php
CRM/Contribute/BAO/Query.php
CRM/Core/BAO/CustomQuery.php