? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
6 Aug 2019

This is a weird one and I cant say I fully understand it but this resolves the problem described below.

If you have a large number of files in a folder then when you look at the list of files in the tree you will see that they are not in alphabetical order. They are in alphabetical order "in groups" which is why you need more than usual files to see it.

To test copy a folder with a lot files to templates\protostar\html

I used this folder as a source administrator\components\com_templates\views\template\tmpl

Now when you view the file tree in the template component you will see the sorting is wrong as per screenshot from the middle of the list
image

Apply this PR and retest and the sorting is as expected as seen in this screenshot from the end of the list

image

avatar brianteeman brianteeman - open - 6 Aug 2019
avatar brianteeman brianteeman - change - 6 Aug 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Aug 2019
Category Administration com_templates
avatar brianteeman brianteeman - change - 6 Aug 2019
Labels Added: ?
avatar brianteeman
brianteeman - comment - 6 Aug 2019

NOTE: The same issue exists on J4 but as the fix is identical I assume there is no need for a seperate PR and this will get merged upstream eventually

avatar wilsonge
wilsonge - comment - 6 Aug 2019

Can you add back weblinks please :P

avatar brianteeman
brianteeman - comment - 6 Aug 2019

Done ;)

avatar Quy
Quy - comment - 6 Aug 2019

I have tested this item successfully on e7b3b8b


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25792.

avatar Quy Quy - test_item - 6 Aug 2019 - Tested successfully
avatar viocassel
viocassel - comment - 7 Aug 2019

I have tested this item successfully on e7b3b8b


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25792.

avatar viocassel
viocassel - comment - 7 Aug 2019

I have tested this item successfully on e7b3b8b


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25792.

avatar viocassel viocassel - test_item - 7 Aug 2019 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Aug 2019
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Aug 2019

Status "Ready To Commit".

avatar HLeithner HLeithner - change - 8 Aug 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-08-08 07:13:10
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 8 Aug 2019
avatar HLeithner HLeithner - merge - 8 Aug 2019
avatar brianteeman
brianteeman - comment - 8 Aug 2019

Thanks - this has been bugging me for ages

avatar HLeithner
HLeithner - comment - 8 Aug 2019

Thank you for the time you invest in Joomla!

Add a Comment

Login with GitHub to post a comment