Answer the question
In order to leave comments, you need to log in
How to implement top projects?
Such a task. There are projects... Projects should be displayed depending on the date of addition, i.e. orderBy, this is understandable. But how to get the position of the project in this case? Every time you output a project, do orderBy and take index? In the case of the output page of all projects, let's say it will work, but what if the user's projects are displayed? How to be?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question