Click sorting does not work on Completed Process Time in Views

Created on 2 July 2021, over 3 years ago
Updated 8 September 2023, about 1 year ago

Problem/Motivation

Enabling click sorting Completed Process Time field in Views produces an "Column not found: 1054 Unknown column 'unknown' in 'order clause'" error.

Steps to reproduce

  1. Edit Maestro All Flows View
  2. Edit Format Table Settings
  3. Make "Completed" field sortable
  4. Click table header for completed

Proposed resolution

Add clickSort method to maestro_process_completed_time views_field_hander

function clickSort($order) {
  $this->query->addOrderBy('maestro_process', 'completed', $order, NULL);
}

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States vetchneons

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