User tests: Successful: Unsuccessful:
Pull Request for Issue #40605 .
Order is now using the right values for displaying directory structure for templates in the backend.
This could happen on posix filesystems because the natural order is the file creation and not the alphabetical order.
Check if your directories and files are sorted in the corrected order
The order was only for directories correct
Sorting happens in the model and not longer in the view for directories and files.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_templates |
Labels |
Added:
PR-4.4-dev
|
Is the image a before or after. If after then it is showing the folders in the tree not being in alphabetical order
I think so, I didn't see much changes since 4.4 in 5.1
I have tested this item ✅ successfully on f3a8732
I successfully tested the PR on a J5.1.
Is the image a before or after. If after then it is showing the folders in the tree not being in alphabetical order
correct php fooled me and the over complicated php code didn't make it better. I updated the code and moved from uasort to uksort. Now it works as expected.
Now I am really confused. The original PR used uasort and did not work with cassiopeia. Yet @dautrich says it does work with the j51 template
it partly works with cassiopeia as you pointed out based on the image (media folder -> images shouldn't be on the last place, btw. this information in you comment would have saved me 10 minutes...). so his test is wrong.
@HLeithner
Do you want me to re-test this?
@HLeithner Do you want me to re-test this?
Plz
I have tested this item ✅ successfully on 4edaa4c
@HLeithner
Would you like me to test this patch on J5.1.0 as well, or will you provide a separate PR for J5.1.0?
@HLeithner Would you like me to test this patch on J5.1.0 as well, or will you provide a separate PR for J5.1.0?
Will be upmerged so no test/PR for 5.1 needed thankd
I have tested this item ✅ successfully on 4edaa4c
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
bug
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-05-08 07:36:38 |
Closed_By | ⇒ | MacJoom |
Thank you!
@HLeithner
The fix is for J4, isn't it? Can I apply the patch to J5.1 as well?