Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: Sorting of Structures/Entries does not work #14780

Closed
philipschilling opened this issue Apr 9, 2024 · 5 comments
Closed

[5.x]: Sorting of Structures/Entries does not work #14780

philipschilling opened this issue Apr 9, 2024 · 5 comments
Assignees
Labels

Comments

@philipschilling
Copy link

What happened?

Description

The sorting of Structure Entries does not work for me. The sorting element disappears after the selection of a value (e.g. Title) from the dropdown. The sorting does not change. I tested it in the latest Chrome and Safari browser on Mac.

Screenshot 2024-04-09 at 14 06 45

For the Channels Entries the sorting does work for me.

Steps to reproduce

  1. Open Entries tab
  2. Open "Structures"
  3. Click "View" button"
  4. By default the sorting elements are not shown
  5. Click on Channels
  6. Click again on Structures
  7. Now the sorting elements are shown but they disappear once selected and the sorting does not change

Expected behavior

The sorting elements shall not disappear + the entries shall be sorted by the selected field.

Actual behavior

See description.

Craft CMS version

5.0.2

PHP version

8.2.17

Operating system and version

Mac OS 14.4.1

Database type and version

MariaDB 10.4.33

Image driver and version

Imagick 3.7.0 (ImageMagick 7.1.1-29)

Installed plugins and versions

@thupsi
Copy link

thupsi commented Apr 9, 2024

I think the bug here is that the sorting options should not be visible while you have 'structure' view selected.

@i-just
Copy link
Contributor

i-just commented Apr 9, 2024

Hi, thanks for reporting! Yes, the bug is that you shouldn’t see the sorting options when in the structure view mode (like you couldn’t see them in Craft 4); more precisely, when you switch to a channel and then structure again, the sorting options are not hiding properly. PR to follow.

@i-just i-just self-assigned this Apr 9, 2024
@brandonkelly
Copy link
Member

Got that fixed for the next release.

@philipschilling
Copy link
Author

Awesome. Thank you.

@brandonkelly
Copy link
Member

Craft 4.8.8 and 5.0.3 are out with the fix for this. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants