Allow raw vid to be sorted in views

Created on 19 March 2019, almost 6 years ago
Updated 20 March 2023, almost 2 years ago

Problem/Motivation

In some cases I've wanted to sort on the vocabulary machine name. When the `vid` was added, the sort option was manually unset, perhaps because it's not possible to sort on the vocabulary Label using SQL.
https://www.drupal.org/project/drupal/issues/2320743#comment-9157907

Proposed resolution

There is not a compelling reason why we don't allow sorting on the raw machine name, however it should be labelled in such a way as to be clear that it is the raw machine name that is being sorted on.

API changes

Adding a $values parameter to TaxononomyTestTrait where there was none. See #12.

Feature request
Status

Fixed

Version

10.1

Component
Views 

Last updated about 12 hours ago

Created by

🇦🇺Australia sime Melbourne

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