mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
37c3f3acd2
Collections opened in title order, so a curated shelf came back rearranged. Add a collectionOrder sort field, make it the default for collection views, and offer it from a sort control that grid and list previously did not have. Back the ordering with a new collection_books.position sequence rather than added_at: added_at defaults to now(), the transaction timestamp, so every book added in one request shared it and the order fell back to books.id. Kobo collection paging had the same tie and now orders by position. Also stop useBookWindow blanking its slots and total on every query change. Clearing them collapsed the virtual list to zero height and back, which read as a flash on any sort, search, or filter change. Closes #978