Introduce Contextual Link to Reorder View Page

Created on 15 February 2022, over 2 years ago
Updated 29 March 2023, about 1 year ago

Problem/Motivation

There is missing link to the referenced view which provides ordering information.

Steps to reproduce

Configure block/page sorted by weight and the page with weight field rendered on the view display. There is no information regarding related view location in the contextual links.

Proposed resolution

Introduce contextual link for easier navigation to the appropriate page.

User interface changes

New item in the contextual links.

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine voleger Ukraine, Rivne

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.

  • πŸ‡΅πŸ‡±Poland SebaZ

    It looks like it is not fixed in 100% because of passing contextual filters as arguments.

    When you set path to sorting page with argument placeholder like /admin/content/sort/% where argument is taxonomy_term referenced by nodes it is not working. There is an error with no arg_0.

    AH01071: Got error 'PHP message: Uncaught PHP Exception Symfony\\Component\\Routing\\Exception\\MissingMandatoryPara
    metersException: "Some mandatory parameters are missing ("arg_0") to generate a URL for route "view.slider.page_1"." at /var/www/html/core/lib/Drupal/Core/Routing/UrlGenerator.php line 182'.

    It looks it tries to find or add argument but there is no one.

    It works only if you have unique sorting page path. When you want dynamic sorting by contextual filter as an argument it is not working.

Production build 0.69.0 2024