Hi,

I have created a content type "Organization" and added 3 contents. Then I have configured profile 2 type for user signup. Used an entity reference select box in signup page to register a user under a specific Organization.

Now I want to display list of profiles that are registered under a particular Organization.

Created a view block to list Organization content. On click of a particular Organization(its detail page), profiles are not listing out.

Please help me out with steps to resolve this.
Thanks in advance.

Priya Agrawal

Comments

priyaagr created an issue. See original summary.

cilefen’s picture

Project: Drupal core » Views (for Drupal 7)
Version: 7.67 » 7.x-3.x-dev
Component: views.module » Code
Assigned: priyaagr » Unassigned
Category: Task » Support request
Priority: Critical » Normal

Views is its own project in Drupal 7.

brankoc’s picture

What is a 'profile 2 type'?

renatog’s picture

Yes, it's true because in this case, we created the views to list all Organization content types.

In this case, the hook_views_query_alter can help you
https://api.drupal.org/api/views/views.api.php/function/hook_views_query...

renatog’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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