RG random sorting + 1st cell condition

Hi all!

My website users can create projects (each user = 1 project). And all projects are shown in the RG on the main page as a grid view. Currently the sorting of the RG items is set to random.
Is it possible to maintain random sorting, but to put the current logged in user’s project as a first cell of this RG? So every logged user always see his/her own project as a first item?

Thanks

Hi there, @chuprygin… you should be able to do what you described by using the merged with operator to merge two searches together in the repeating group’s data source. The first search would be a search for projects created by the current user, and the second search would be a search for projects where Created by is not the current user (you could still sort the second search randomly).

Hope this helps.

Best…
Mike

Thank you!

1 Like