funmaker / Hybooru

Hydrus-based booru-styled imageboard in React
https://booru.funmaker.moe/
MIT License
95 stars 15 forks source link

[Feature Request] Ordering by page #28

Open QnF6eq opened 1 year ago

QnF6eq commented 1 year ago

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.

funmaker commented 1 year ago

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?

katanacrimson commented 1 year ago

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

funmaker commented 1 year ago

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.

QnF6eq commented 1 year ago

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".