Views table click sorting does not work for UsageDataField views field

Created on 21 February 2023, almost 2 years ago
Updated 10 March 2023, almost 2 years ago

Problem/Motivation

Setup a view with table style and column click sorting. Add a UsageDataField views field.
Column click sorting doesn't work.

Proposed resolution

The Drupal\views\Plugin\views\field\FieldPluginBase->clickSort() method should be implemented to use column click sorting.
Logic is the same as in Drupal\usage_data\Plugin\views\sort\UsageDataSort->query().

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine vselivanov Kyiv, Ukraine

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

Comments & Activities

Production build 0.71.5 2024