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 Drupal Modules (Moderator: Donald Lobo) »
  • Custom data broken in Views
Pages: 1 2 [3]

Author Topic: Custom data broken in Views  (Read 5940 times)

datakid

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 0
Re: Custom data broken in Views
April 19, 2010, 03:51:40 am
Quote from: datakid on April 18, 2010, 11:27:54 pm
Since $subName is not passed to this function by the calling routine - civicrm\drupal\modules\views\civicrm.views.inc:4722 (roughly 4722) passes NULL in the final field - then the only $strWhere that is used is the final one looking for "civicrm_custom_group.extends_entity_column_value IS NULL" which will be incorrect, since that field is where the $subType is stored..? Am I off track here?

I feel like there should be an extra "AND ( civicrm_custom_group.extends_entity_column_value LIKE '%$subType%' OR"  in the final where clause, or the final where clause should just not exist....??? Of course, I have no idea how many other code points call this function so I'm happy to be wrong :)

...and now I see the closing bracket. Apols.

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Custom data broken in Views
April 24, 2010, 07:32:44 pm
Noticed an issue for custom groups extending 1 or more specific subtypes. Filed an fixed the issue here - http://issues.civicrm.org/jira/browse/CRM-6136.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: 1 2 [3]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Custom data broken in Views

This forum was archived on 2017-11-26.