Skip to content

Render folders before files in static files picker#18701

Merged
Migaroez merged 1 commit into
v13/devfrom
v13/bugfix/align-folders-and-files-order-in-static-files-picker
Mar 18, 2025
Merged

Render folders before files in static files picker#18701
Migaroez merged 1 commit into
v13/devfrom
v13/bugfix/align-folders-and-files-order-in-static-files-picker

Conversation

@AndyButland

Copy link
Copy Markdown
Contributor

Prerequisites

  • I have added steps to test this contribution in the description below

Fixes: #18698

Description

The linked issue notes that the files are rendered before the folders in the list of child items when using a static file picker. This corrects that, so the folders appear first - which is more expected from viewing file systems and aligns with those coming from the file provider ("wwwroot" folder) that are presented below.

Here's the new ordering:

image

To Test:

  • Add some files and folders into App_Plugins
  • From a data type based on a block list, select one of the available blocks and attempt to choose a "Custom stylesheet"

@AndyButland AndyButland requested a review from Migaroez March 18, 2025 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants