Drupal 7 with Views 7.x-3.5, some fields not showing for Sort

I am trying to sort a view in a node field (product weight is a decimal point), however this field and other objects do not appear as fields that I can sort.

I hope there is some simple fix for this, but I haven't been able to find a solution.

Why do some fields appear in the sorting criteria while others do not? What do I need to do to sort by missing fields?

+3


source to share


2 answers


Has worked.

You need to add the index to the search API ...



Once this is done with the addition of the appropriate fields, they should become sortable.

+1


source


Multi-valued fields are not shown as sortable in Drupal 7 views. Go to your field settings → Select no from values ​​as 1 → Go to view format options and see if the sort option is available → Check Sort-> Save View.



0


source







All Articles