2

I create search page with views in Drupal 8.

In filter criteria, I choose "Content: images:target_id" because I want show contents that have images. (I set operator to not empty.) If a node has 5 images, the search page show that node for 5 times.

How can I fix this problem?

3
  • try using aggregation (if search views allows that).
    – No Sssweat
    Commented Jun 11, 2016 at 8:36
  • @NoSssweat how can I using that ?
    – user60258
    Commented Jun 11, 2016 at 8:44
  • see here and change No to Yes. idk if search views allows that though.
    – No Sssweat
    Commented Jun 11, 2016 at 8:45

1 Answer 1

2

This can be solved by using aggregation

enter image description here

Change the No to Yes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.