WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Error when setting default sort order to "Editor" #221

@tricki

Description

@tricki

Describe the bug

When you change the default sort order on the "All submissions" list to "Editor" or "Reviewer", the following error is thrown:

Column not found: 1054 Unknown column 'editorId' in 'order clause'

Steps to reproduce

  1. Make sure CRAFT_ALLOW_ADMIN_CHANGES is set to true
  2. In the main menu click on "Workflow"
  3. Click on the settings icon on the left and then "Customize sources"
  4. Change the "Default Sort" to "Editor" or "Reviewer"

Craft CMS version

4.12.8

Plugin version

2.0.12

Multi-site?

Yes

Additional context

It looks to me from the migrations like that column once existed but was changed to userId.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions