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) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Campaign Type in Advanced search
Pages: [1]

Author Topic: Campaign Type in Advanced search  (Read 1130 times)

Ghost

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 3.4.7
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.x
  • PHP version: 5.2.9
Campaign Type in Advanced search
November 08, 2011, 03:01:33 am
Hi everyone

I would like to add a drop down field contribution type, in Advanced search >> Contribution tab. I have managed to add the field using buildForm hook, but not sure how to include the selected option in the search query.

Can anyone help me to do this please.

Thanks in advance.
« Last Edit: November 08, 2011, 03:40:17 am by Ghost »

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: Campaign Type in Advanced search
November 08, 2011, 06:37:48 am

The search queries are not alterable via a hook currently

they are pretty complex queries and i'm not sure if altering them would be easy

if you'd like to work on adding hook support to the search queries for the next release that would be great. please ping us on IRC

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) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Campaign Type in Advanced search

This forum was archived on 2017-11-26.