Kanka Gallery Alphabetical Sort

Sorts folders and images alphabetically in the Kanka Gallery, keeping folders first.

作者
Salvatos
日安装量
0
总安装量
6
评分
0 0 0
版本
4
创建于
2023-04-03
更新于
2024-12-15
大小
2.7 KB
许可证
MIT
适用于

Sorts folders and images alphabetically in the Kanka Gallery, keeping folders first. (Normally, they are sorted by most recent change.)

Caveat: The Gallery displays 25 items at a time, and does not fetch its results from the database alphabetically, so this is a lot less convenient with larger folders (or numerous search results). When clicking "Load more", the new batch of results also need to be sorted by the script. Instead of merging them into the full set of results, the new batch is sorted separately and appended at the end of the previous batch, keeping the new results separate so you don't have to look through the whole set every time it changes. It also automatically scrolls you back up to the last result of the previous batch.

If there is demand to add something like a "Re-sort all" button, that could probably be done.


If my scripts are making your life easier, tips go a long way to help me make more. You can support me via Ko-fi (no account needed):

Support me on Ko-fi.com

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址