Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Sortableviews

1,366 sites Security covered Drupal 8–11
View on drupal.org

This module provides a way to reorder entities directly within a view using drag-and-drop. It stores the order as a weight value in a designated entity field and offers different display formats like lists or tables for sorting.

This is an alternative to the popular DraggableViews module. The difference lies in that this module stores weights directly on entity fields.

Here is how it works:

  1. Create a view of any entity and have its format be any of "Sortable HTML list", "Sortable Unformatted list" or "Sortable table". Make sure the entity type has a spare integer field or base field to store the weight.
  2. In the view format settings, specify such field for storing weight.
  3. Add the field "Sortableviews: Drag and drop handle." to the view. This is the actual "handle" users will use to perform the drag and drop.
  4. Add your weight field as a sort criteria as well. It can be either in asc or desc fashion.
  5. Finally, add the "Save Sortableviews changes" handler to either your view header or footer. This is the button users will use to save changes and will only appear when there are changes to be saved.
  6. Your view should now be sortable.

Be aware that the sorting process will always overwrite whatever weight an entity had. Also, weight conflicts may occur if using multiple sortableviews for the same entity type and bundle.

Depends on

Dependencies of the latest stable release

  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Apr 2023
Latest release
3 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
8.x-1.4 Stable 8–11 Jul 3, 2026
8.x-1.3 Stable 8–11 Aug 13, 2024
8.x-1.2 Stable 8–11 Aug 13, 2024
8.x-1.1 Stable Apr 28, 2023
8.x-1.0 Stable Apr 14, 2023