Hybooru icon indicating copy to clipboard operation
Hybooru copied to clipboard

[Feature Request] Ordering by page

Open QnF6eq opened this issue 1 year ago • 4 comments

Being able to order by page would be a nice addition - it'd be awesome to also have a next and previous button on the post page.

QnF6eq avatar Mar 27 '23 15:03 QnF6eq

Does Hydrus keep track of which pages belong to single collection/post/group? I can add a functionality to order posts by page:* tags but then you'd probably have pages from various posts mixed together. Ie. first you'd see all page:1 posts, then page:2 posts, etc, so I doubt this would be any useful. Is there any specific Hydrus feature that you have in mind that you'd want to see in Hybooru?

funmaker avatar Apr 10 '23 15:04 funmaker

I suspect what they mean is a subsort. Order by import time, secondary import by page if present, grouping by...something. Maybe related images?

katanacrimson avatar Apr 10 '23 19:04 katanacrimson

Well, the import time can differ between pages, so even if you do secondary sort by page, the final order will depend mostly on which order hydrus imported the files. I see that Hydrus has an option to sort by a sequence of tags like: image

I personally do not have use for such feature. But it wouldn't be hard to implement, I can give it a go, but first I'd like to know the exact usecase of it.

funmaker avatar Apr 12 '23 17:04 funmaker

Yeah you both are right - this is meant for a search like "series:example volume:1 order:page" since order by ID or import time is likely not the real page order.

This feature would excel if this would allow for ordering by any namespace - as to mimmic hydrus' behavior shown in your screenshot eg. "series:example order:volume order:page".

QnF6eq avatar Apr 15 '23 12:04 QnF6eq