Lists - get previous item

Hi, is there some workaround to get the previous value of a list as the current (repeating group’s) item?

I have a list of posts and want to show a group at the top of the cell with the creation date, if the previous post was NOT created at the same day (same mechanism like whatsapp for example does).

I could’ve solve this by adding a field “previous post” but this gets me in trouble when I do reordering/ deleting etc…

The following would work, but I can’t write #index -1, that would do the trick…

Screenshot 2022-02-21 at 21.38.37

I was thinking about writing a small plugin, but I think I could only obtain the previous item as an event and this would not help me…

Thanks!

1 Like

Thanks, that worked :smiley:
Really like the learning curve of bubble.

For others, I did the date compare this way:
Screenshot 2022-02-22 at 11.11.21

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.