fileserver: Fix browse name_dir_first sorting#4218
fileserver: Fix browse name_dir_first sorting#4218francislavoie merged 2 commits intocaddyserver:masterfrom
Conversation
|
I think the better fix would be to change the |
|
@diamondburned Do you have time to address my comment? Thanks! |
This commit fixes the `sortByNameDirFirst` variable inside fileserver to match what browse's default template has.
9a92f58 to
ab13df0
Compare
I've made this change, though I still have some second thoughts about it, mostly because the |
|
Well you're the first person whose reported it, so I have high doubts anyone else would have fixed it in the same way you did. I'm not so concerned for people who may have fixed it in their own apps and not reported the issue, because that's not being a good user of open source software. I'm more concerned about users who copied the template and changed other things but left that the same, which will be the vast majority of people who copied templates in total. Like probably everyone except you in that group of people. Thanks for reporting and it for the fix! 😀 |
This pull request fixes browse's default template to make
name_dir_firstsorting work.The fix is basically a minor typo fix, changing
namedirfirstin the template toname_dir_firstto reflectsortByNameDirFirst = "name_dir_first".