Skip to content

Allows views to be sorted by a list field's allowed values.

License

Notifications You must be signed in to change notification settings

Ymbra/views_list_sort

 
 

Repository files navigation

Description

Views List Sort allows views to be sorted by a list field's allowed values. This is useful if the allowed values are stored in a non-alphabetical order, but you want to present your view results in the same order as your allowed values are stored.

Usage

  1. Enable the module.
  2. Add a "List (text)" sort field to your view.
  3. In the sort field settings, set "Sort by allowed values" to "yes".

Drupal 8 port of https://www.drupal.org/project/views_list_sort.

About

Allows views to be sorted by a list field's allowed values.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%