mortii / anki-morphs

A MorphMan fork rebuilt from the ground up with a focus on simplicity, performance, and a codebase with minimal technical debt.
https://mortii.github.io/anki-morphs/
Mozilla Public License 2.0
47 stars 6 forks source link

Study Plan generator sorts files by name, not by full path #206

Closed aleksejrs closed 3 months ago

aleksejrs commented 3 months ago

Describe the bug

/directory/subdir01/k-file.txt /directory/subdir02/a-file.txt

a-file is listed first. It should be listed second.

My setup

aleksejrs commented 3 months ago

Oh, it depends on how the user sorts the table. Maybe that's the default order for some reason?

mortii commented 3 months ago

Ah, I didn't really test for that.

The tables only sort the file name not the directories, which it should maybe do first... I'll look into it.

Also, the file name column in the study plan should use the path not just the file name, I'll add that too.

aleksejrs commented 3 months ago

The File column actually contains paths, so it can sort by directory. It's just when I tried it first before clicking the table that it was by name.

mortii commented 3 months ago

Oh, it does sort by directory when clicking the headers, but not when they are first loaded. That is a little weird, but not the end of the world I guess.

I'll make it so the column in the output file also contains the relative path: Screenshot from 2024-04-03 21-18-52

mortii commented 3 months ago

Should be fixed now, I'll release it shortly. Thanks!

github-actions[bot] commented 2 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.