Hallo!
I'm using redhen and it's amazing.
In my case I have more than 100 organizations, and some of them has very long name, example: Società delle banane e delle castagne secche di Pietra Santa.
If I have to search that ORG, I have to remember the whole name, but I don't.
I've solved the problem using a view and adding a filter with the operator "contains", so I type in just "banane" in the filter and find the ORG I'm looking for.
Is it possible to add that feature to ORG and CONTACT page directly?
Thanks anyway guys!

Comments

arzuga’s picture

up!

ahillio’s picture

You did what I think the developers intended. They made it generic so it can be customized, so creating your own views to get lists displayed how you want is their intention http://thinkshout.com/blog/2012/10/lev/under-hood-redhen-crm.

You can override the Redhen pages with your own views, just create a page display and give it the same path as redhen's path and your new view will be used instead of the default Redhen list.

So to override the listing of an organization's group content:

  1. create view to list desired node type, with 'page' display and the path redhen/org/%/content
  2. add relationship "Organization entity referenced from field_redhen_org_group"
  3. create contextual filter - specify that relationship and when filter value is not available show "page not found"

So to override the main organizations list you'd just create a view page with path "redhen/org".

arzuga’s picture

Thanks ;-)

levelos’s picture

Status: Active » Fixed

Great suggestion. Orgs and contact names now use fuzzy matching based on "CONTAINS". See b94f1776dac7d24f5b1ea6f3056fe800a67a630c.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

  • Commit b94f177 on 7.x-1.x, redhen-donation by levelos:
    Allow for fuzzy matching on contact and org names on all default list...

  • Commit b94f177 on 7.x-1.x, redhen-donation, relation-roles by levelos:
    Allow for fuzzy matching on contact and org names on all default list...