Multi-value field filter criterion

Created on 22 March 2023, over 1 year ago
Updated 25 March 2023, over 1 year ago

I also want to selectively display delta row in the multi-value field, Not only the last delta, For example by token to get the URL path alias, If their value is equal to or contains then display this row, The filter criteria is just for display delta, rather than the whole field.

I use datafield stored data and display the delta row by filter criteria conditions.

Feature request
Status

Closed: works as designed

Version

1.1

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @msn5158
  • 🇬🇧United Kingdom seogow

    If I understand the requirement correctly, you can accomplish this by using the core Views delta filter with the "is less than or equal to" operator, in conjunction with the Token Views Filter module. Would this solution meet your requirements?

  • by using the core Views delta filter only support numerical value (e.g. 1,2,3), can't be an alias (e.g. one,two,three), must be a field filter use alias value by token [current-page:url:args:last]

    For example,
    Using Datafield published content with multiple fields and multivalued

    At the picture you can see three fields (title,alias,content), And they are multivalued published

    If access url http://www.abc.com/demo/one will print one content from delta 0, if access url http://ww.abc.com/demo/two will print two content from delta 1, not print all values.

  • 🇬🇧United Kingdom seogow

    @msn5158, I apologize for any confusion earlier. You can indeed achieve your requirement using Views Contextual Filters. However, this particular question might be better suited for Drupal Answers. That platform would not only provide you with a more appropriate response but also allow others to benefit from the discussion.

    I will be closing this request as it is considered out of scope for the current module. The focus here is to filter the View output to display rows that are associated with the values on the last delta of the selected field, whereas your concern relates to values on any delta of a multi-value field.

  • Status changed to Closed: works as designed over 1 year ago
  • Thank you for your reminder

Production build 0.71.5 2024