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) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Help! Search Broken for Custom Fields!
Pages: [1]

Author Topic: Help! Search Broken for Custom Fields!  (Read 803 times)

MKorostoff

  • Guest
Help! Search Broken for Custom Fields!
July 04, 2009, 01:49:41 pm
I've encountered a bizarre and catastrophic problem with search.  A large portion of my custom fields are no longer searchable--that is to say, they ARE configured as searchable, and the entry fields DO display in the advanced search screen, BUT they cannot be used to return any results.  Here are the symptoms:

1. Any range-based search for a custom NUMBER or MONEY field works the same as running a blank search--i.e. they always return ALL records.
2. Alphanumeric fields remain searchable.
3. A drop-down menu search of a number field works.
3. Custom search views display ALL custom fields as blank (see attached).
4. All data is still available in the profile view--this is the only context in which custom number and money fields can be viewed at all.
5. Smart groups based on number fields display all records when searched.
6. Custom data cannot be exported (this is the worst part, because it means my data is trapped)

Please, someone help!
« Last Edit: July 04, 2009, 03:40:47 pm by MKorostoff »

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: Help! Search Broken for Custom Fields!
July 04, 2009, 03:53:36 pm

1. can u upgrade to 2.2.6

2. can u reproduce the same issue on demo and see if it is a bug in the core code

3. did this work before, if so what version?

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

MKorostoff

  • Guest
Re: Help! Search Broken for Custom Fields!
July 04, 2009, 08:02:49 pm
Quote
1. can u upgrade to 2.2.6
Quote
3. did this work before, if so what version?

I'm a little uncomfortable upgrading without the ability to first backup through export.  Otherwise, I'm relying on the hope that the mySQL data will be readable to the new install of civiCRM.

2.2.2 is the only install I've ever had, and these searches have always worked fine as far as I know until this week.

Quote
2. can u reproduce the same issue on demo and see if it is a bug in the core code

I created an identical field on the demo site, and the error did not reproduce.

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: Help! Search Broken for Custom Fields!
July 05, 2009, 08:58:23 am

make a backup of your entire site so u can revert if needed.

if the code has not changed, i'm not sure how things could have stopped working. a bit lost here :(

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

MKorostoff

  • Guest
Re: Help! Search Broken for Custom Fields!
July 06, 2009, 10:07:19 am
Worked like a charm.  Thanks!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Help! Search Broken for Custom Fields!

This forum was archived on 2017-11-26.