Install
Works with Drupal: ^10.1 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
36.93 KB
MD5: be1924b320e7b24ad9cf4b83f1c6852b
SHA-1: 7cf27d91bec63e3291a03513b9aed6b8ec5d1296
SHA-256: 4ee6abae2bf16eb3918a0c5c2a812ab76f94f076925bda3871849a5d0a84a6f0
Download zip
56.36 KB
MD5: abe43cecd862f3e5f282a1597d4a857d
SHA-1: dd97172f8029ec38a04b5df7457e286c3e1ca3a3
SHA-256: f5c3e40de926cb3a1b5b38f4a8b477c1b556bcd8f8f885f56fcdd8051f15024f
Release notes
Views with contextual filters, and an optional order per filter value
- Fixed: displays with contextual filters (for example a block listing the content of the current taxonomy term, with the term taken from the page) showed 0 results on the reorder page. The reorder contextual links and the Reorder link area now pass the view's arguments (including defaults taken from the page) as
?args=, and the reorder page runs the view with them. - Fixed: saving a reorder page replaced the whole stored order of the display with the listed items, so saving one term erased the order of the others. Saving, customizing and resetting a language now only touch the listed items.
- New: Order per filter value display option (off by default). Each set of contextual filter values, for example each term, can have its own order, falling back to the shared order. Toggle it from the bar at the top of the reorder page or in the display's Views options. Leave it off when the argument only excludes or highlights an item.
- Opened without arguments, the reorder page lists everything the display can show (its contextual filters are ignored for that run, the view is not changed). The page says which filter value is being ordered, using the entity label when the argument validates an entity.
- The reorder page title and summary use the view's administrative label, not the display title, which may hold argument placeholders or a translation.
- Fixed: enabling Order per language from the reorder page caused a fatal error (missing argument).
Upgrade notes
Run database updates (drush updatedb): update 10006 adds a context column to the entity_weight_views_order table. Existing orders become the shared order, so sites render exactly as before. Then clear caches.