- 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 multivaluedAt 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 9:39am 25 March 2023