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.
Drupal 12: both modules now declare ^10.1 || ^11 || ^12. Hooks moved to #[Hook] classes, with #[LegacyHook] wrappers so Drupal 10 and 11.0 keep working.
Fixed: the Reorder link button (Views area) is now cached per permissions. Before, a cached copy of the view could show the button to visitors or hide it from editors.
The reorder page now requires access to the view display itself, so it never lists more than the view already shows to that user.
New Order per language option per view display, off by default. While it is off, one general order applies to every language.
When it is on, the reorder page shows an All languages tab and one tab per language. Each language uses the general order until you press Customize the order for …, which copies the current order. Back to the general order removes it.
New features
- Reorder is now a per-display option stored in the view's own configuration (new "Entity Weight reorder" display extender, under Other in the Views editor). It exports and deploys with the view.
- "Enable reorder" / "Disable reorder" links in each view's contextual menu, with a confirmation step.
- The Entity Weight settings page now works as a bulk editor and audit of which displays have reorder enabled.
- The per-view order is applied by the display extender, only on displays that opted in (the global query alter was removed).
New features
- The per-view reorder form now loads all matched results (it ignores the view's pager), so any item can be dragged into the visible positions.
- Added a "Display status" column showing which rows are visible on the site, with a live cutoff that updates while reordering.
- Per-view ordering is now shared across languages by default, and can be customized per language from each language's reorder page.
- Added an "Entity Weight: Reorder link" Views area handler.