Only show "Save order" button when "Draggableviews" field is present

Created on 22 June 2018, almost 7 years ago
Updated 28 May 2024, 11 months ago

Currently when the Draggableviews field is attached to a View display the "Save order" button is added to the output regardless of whether the current display has that field or not.

Scenario

  • Create a view with a page display and a block display.
  • Set the page to use the "table" display handler and the block to use "unformatted list".
  • On the page, add the title, the appropriate "Draggableviews: [entity type]" field, and some other fields.
  • On the block just pick a view mode.
  • Add the DraggableViews Weight sort option and make sure it works for all displays.
  • Presuming there is content, confirm that the page works as intended.
  • Add the block to a page somewhere.
  • Expected results: the block is displayed as if it is a normal block with just the expected content.
  • Actual results: the block is displayed and the "Save order" button is present.
πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024