Collection list range – filter from 'current case'

Hi – Is it possible to create a collection list the sorts (or filters) a collection list from ‘current case’ and displays the order onwards from this point.

I would like to achieve the following:
I have manually numbered the cases 1, 2, 3, 4, 5, – once case 3 is opened I would like to display the same list but continuing from 4, then 5, and the starting over from 1, 2 etc.

image
Ie. if it would be possible to add an dynamic value here for instance ‘current case’
(‘Rækkefølge’ means ‘order’ and is set to a number value).

I can’t wrap my head around this.
Any suggestions would be much appreciated.


Here is my public share link: Webflow - Strand-Hvass

hi @Gabdzi you can use JS to construct new Array by splicing current array based on index of item in Array. Here is very simple example of principle.

Hi @Stan – thank you very much for the reply.

I’m no entirely sure I can wrap my head around the example – as my coding skills are basically non-existing. However, the fact that there seems to be a way makes my happy.

I’ll try my luck…

Thanks again and a happy new year to you

1 Like