feat: allow sorted-lists on multiple pages
If multiple sorted-lists were on separate pages, saving one page would erase the sorted-lists saved on the other page. This was caused by naive deletion of the sorted-lists index on settings save. At the same time, a bug was found where if fewer items were passed in, only that many items were removed from the database, leaving leftover orphan data in the database. The logic now: - Only removes sorted-lists if they are passed in (and empty) - Deletes all sorted list items, not just the items passed in.v1.18.x
parent
9834f72fc7
commit
d5d24594e8
Loading…
Reference in New Issue