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 »
  • 2.1 Release Testing »
  • Problem searching null values
Pages: [1]

Author Topic: Problem searching null values  (Read 3096 times)

dcalp

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Problem searching null values
August 26, 2008, 09:49:34 am
Hi:
I'm trying to search for null values in a date field and it doesn't work.
I tested this in sandbox:

Search builder
Include individuals where last name = Adams AND Birth date IS NULL.

It yields seven records, ALL with filled birth date field.

Thanks, keep up this good work!

Diego

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Problem searching null values
August 26, 2008, 09:57:48 am
Looks like a bug, filed http://issues.civicrm.org/jira/browse/CRM-3458 for tracking purpose.

thanx,

Kurund
Found this reply helpful? Support CiviCRM

dcalp

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Re: Problem searching null values
September 09, 2008, 01:05:10 pm
Hi:
The problem is still present with custom fields for dates. I'm usinge 2.1 beta 4, and I also verified it with the online demo site.
With string custom fields works fine.
I hope this help.

Kind regards

Diego

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Problem searching null values
September 09, 2008, 02:10:11 pm
Diego:

Reopened http://issues.civicrm.org/jira/browse/CRM-3458, we will fix it before next beta release.

Thanx

Kurund
Found this reply helpful? Support CiviCRM

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: Problem searching null values
September 09, 2008, 04:42:48 pm

this is now also fixed for custom fields

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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Problem searching null values

This forum was archived on 2017-11-26.