'Filter by Type' not in alphabetical order.

Created on 19 November 2024, about 1 month ago

Problem/Motivation

On the reports page, the 'Filter by Type' filter is not in alphabetical order.
Although paragraph labels are shown, the paragraphs are ordered by machine name.

Steps to reproduce

Go to /admin/reports/paragraphs-report
Use the 'Filter by Type' filter.
The issue is only apparent when paragraph labels are different to their machine names.

🐛 Bug report
Status

Active

Version

2.1

Component

User interface

Created by

🇬🇧United Kingdom Kionn

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

Comments & Activities

  • Issue created by @Kionn
  • 🇬🇧United Kingdom Kionn

    Here is a patch

  • 🇮🇳India chandansha

    I have try to apply patch but it will throw an error like "foreach() argument must be of type array|object, string given".
    For reference i have attached Screen Shot.
    Thanks!!

  • 🇬🇧United Kingdom Kionn

    Hi Chandansha. Thanks for checking the patch.
    The error you have looks to me like an issue with your composer.json file. Would you mind checking and trying again?
    The patch applies fine for me.

Production build 0.71.5 2024