On Thu, 9 May 2019 at 16:09, Dan Cutting <
dcut...@gmail.com> wrote:
>
> Thanks for your reply Mathieu.
>
> I think I see what you mean. Something like this:
>
> item_1: sha224-abc
> item_2: sha224-def
> item_3: sha224-ghi
More like:
camliPath:/collections/photo1 = sha224-blabla
but yeah, you got the idea.
> Would this mean potentially renaming all camliPath keys to move an item to the front of the list?
Not necessarily. If the top of the list is e.g. camliPath:/photo1 and
you want to move another photo before that one, you'd just have to
name it to something that comes before in alphabetical order (again,
assuming we are sorting them this way), so to e.g. camliPath:/photo0.
And you wouldn't have to rename any of the others. But yeah, maybe
some situations would involve quite some shuffling around, I'm not
sure.
Btw, I've just remembered two things:
1) in the scanning cabinet we use camliPath:page_number to represent
the set of the scanned pages of a document. It's a bit like what you
want, except we indeed do not mutate the order.
2) In this thread, we were talking about another potential attribute,
i.e. camliPathOrder, but we never ended up actually using it. Maybe we
should revive it at some point.
https://groups.google.com/d/msg/camlistore/xApHFjJKn3M/dyYpJDDAjvgJ
> To unsubscribe from this group and stop receiving emails from it, send an email to
perkeep+u...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/perkeep/0a345d45-0e5b-47b2-8e22-975004636b50%40googlegroups.com.