Views smart sort

Categories

Component ID

2749857

Component name

Views smart sort

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module allows you to list different content types with Views but sort against a different field per content type, e.g.

Content type Fieldproperty
Event Event state date
Press release Publication date
Basic page Last updated

#2133879 describes the problem and proposes workarounds using the Views API but this module takes a different approach which aims to make this functionality accessible to a wider audience.

Other relevant links:

Configuration

  1. Enable the module
  2. Configure the sorting field via admin/structure/views/smart_sort
  3. Add the Smart sort field as a sort criteria on your View.

Exporting configuration

Configuration can be exported via Features + Strongarm by exporting the views_smart_sort variable.