Closed (fixed)
Project:
RedHen CRM
Version:
7.x-1.0
Component:
redhen_note
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2013 at 12:56 UTC
Updated:
23 Jun 2014 at 23:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Pete B commentedSo some time passed, but as promised here is a patch for this. I address views relationships for Notes, Engagements and Engagement Scores. This allows proper relationships between these three related entities.
Thanks,
Pete
Comment #2
Pete B commentedForgot to set needs review...
Comment #3
micnap commentedApplied cleanly except for the /modules/redhen_note/redhen_note.info file. For some reason it refused to add the "files[] = lib/redhen_note.views.inc" line. Also, I had to rebuild the registry because of the RedhenNoteViewsController class getting added. I was getting a fatal error saying that RedhenNoteViewsController didn't exist.
I also changed line 17 of modules/redhen_note/lib/redhen_note_views.inc from
if ($entity_type == 'redhen_contact') {
to
if ($entity_type == 'redhen_contact' || $entity_type == 'redhen_org') {
to give me the relationship between notes and redhen_org.
Seems to be working well.
Thanks,
Mickey
Comment #4
westberliner commentedTested the Patch with the modification from micnap. Worked fine within my redhen_note installation.
Comment #5
levelos commentedThe patch needs to be re-rolled against head and include @micnap's changes from #3.
Comment #6
micnap commentedHere's a re-roll.
Comment #7
heylookalive commentedBump, for commit please!
Comment #8
levelos commentedFixed! Thanks everyone, nice work. Sorry this took so long. Ref. f5c2531.