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 CiviReport (Moderator: Dave Greenberg) »
  • Reports all seem to include deleted contacts, but searches do not
Pages: [1]

Author Topic: Reports all seem to include deleted contacts, but searches do not  (Read 780 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
Reports all seem to include deleted contacts, but searches do not
June 15, 2012, 12:50:21 pm
It seems the default behavior of built in CiviReports is to include data from deleted contacts, but the various searches do not.  This often causes an end user to think the report data is wrong, as it does not match what they get from a search.

In my custom reports that I have created, I override the "Where" clause so that the deleted contacts are not included.

But what should the default behavior of CiviReports be? Should all reports exclude deleted contacts?  I think it should be consistent with the default behavior for searches.

Thoughts?
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

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: Reports all seem to include deleted contacts, but searches do not
June 15, 2012, 01:27:55 pm

Reports should exclude deleted contacts, unless its a report on deleted contacts :)

Would be great if you can check the reports and file patches along with an issue for the reports as you encounter them

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

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Reports all seem to include deleted contacts, but searches do not
June 17, 2012, 11:55:21 pm
Agree, the reports should NOT show deleted contact unless specifically instructed by the UI.
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Reports all seem to include deleted contacts, but searches do not

This forum was archived on 2017-11-26.