Fatal error on "Custom content list block" block on sorting options

Created on 18 March 2024, 8 months ago
Updated 2 April 2024, 8 months ago

Problem/Motivation

When you creating a Custom content list block block you get an error if switch options in Sorting field (see Steps to reproduce):

Steps to reproduce

  1. Login as admin
  2. Go to /block/add/custom_content_list page
  3. Chose "Event" in Type of content field
  4. Chose "Oldest -> Newest" in Sorting field
  5. Chose "Topic" in Type of content field
  6. AB: you will see error in Sorting field

Proposed resolution

Add #process callback function to field_sorting field to reassign values

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

12.1

Component

Code (back-end)

Created by

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

Comments & Activities

Production build 0.71.5 2024