Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294322

Views Contextual filter with multiple values And or OR, wrong sorting

$
0
0

I am using a field formatter view to display a multiple paragraph field using a views display passing the ID values in the arguments. It seems that the view is ordering the items based on the ID and not the order passed by the display.

View Settings:
Contextual filter:

  • When the filter value is NOT available > Content ID > Provide default value > Raw value from URL > path component 1
  • More > Allow multiple values is checked

Sort Criteria:None

The view is receiving the items in this order:
157, 11, 95 ( CORRECT )

The view is rendering the items in this order:
11, 95, 157. ( WRONG )


Viewing all articles
Browse latest Browse all 294322

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>