CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Making relationship type in the advanced search multi-select
Pages: [1]

Author Topic: Making relationship type in the advanced search multi-select  (Read 638 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Making relationship type in the advanced search multi-select
October 27, 2012, 05:56:37 pm
I would like to change the "Relationship" filter in the Advanced Search multiselect, just like the select list for groups. So a contact would match the filter if they had any of the selected relationship types.   Which files/templates would I need to investigate and change?
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Making relationship type in the advanced search multi-select
October 28, 2012, 06:17:09 am
I can't help you with the info you require, but I am certainly interested in hearing if you get this working as it is something that would be very useful.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Making relationship type in the advanced search multi-select
October 28, 2012, 07:35:09 am

The developer book should give you a lot of info on which files are used for what pages:

http://book.civicrm.org/developer/

Most of the query code is in CRM/Contact/BAO/Query.php

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Making relationship type in the advanced search multi-select

This forum was archived on 2017-11-26.