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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • My custom searches fail
Pages: [1]

Author Topic: My custom searches fail  (Read 5362 times)

robinhood

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 6
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.56
  • PHP version: 5.3.5
My custom searches fail
February 13, 2013, 07:17:30 pm
I have a few custom searches that were written for 4.2, but now do not work in 4.3a1.  Are there instructions somewhere on what has to be updated for 4.3?

Quote
Sorry but we are not able to provide this at the moment.
Could not get details for custom search.

Return to home page.


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: My custom searches fail
February 14, 2013, 10:45:39 am

nothing should have changed with custom searches (in theory at lease)

are these custom searches installed as an extension?

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

robinhood

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 6
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.56
  • PHP version: 5.3.5
Re: My custom searches fail
February 15, 2013, 03:52:47 am
One is an extension, but two are not.  Should that matter?

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: My custom searches fail
February 15, 2013, 08:51:29 am

no, but was curious to see if there was a pattern

pretty sure we did not change any of the in built custom searches or the protocol. Wanna get on IRC and we can help debug

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

robinhood

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 6
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.56
  • PHP version: 5.3.5
Re: My custom searches fail
May 29, 2013, 04:34:38 am
Sorry it took so long to report back, but I did resolve the issue.  In 4.3 there was a change in the interface at CRM_Contact_Form_Search_Interface::all() with an extra parameter added.

It was:
Code: [Select]
function all($offset = 0, $rowcount = 0, $sort = NULL, $includeContactIDs = FALSE);but now it is:
Code: [Select]
function all($offset = 0, $rowcount = 0, $sort = NULL, $includeContactIDs = FALSE, $justIDs = FALSE);
An easy fix.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: My custom searches fail
May 29, 2013, 01:35:38 pm
we hit a broken Custom Search yesterday too - will see if i can dig out what eileen's fix was - think it was for http://issues.civicrm.org/jira/browse/CRM-10518
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: My custom searches fail
May 29, 2013, 07:58:02 pm
I fixed it as robinhood described on the custom search we had installed.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • My custom searches fail

This forum was archived on 2017-11-26.