I'm not sure if thep terms in topic is correct, but I'll try to explain.
When you create a new page, i automatically puts itself at the bottom of it's level. I guess that means that the index is incremental. Is it possible to make it opposite? So that the new page gets Index 0, and the other ones increase with one?
The use case is this: In a news list, my client would like to get the newest article on top of the list. So I used .OrderBy("CreateDate desc"), which works great. But he also would like to manually bump up an article with manual sorting.
So, if when a new page is saved, it get's Index 0, that would solve it by using just manual sorting.
Initial index when creating a new page
Hi,
I'm not sure if thep terms in topic is correct, but I'll try to explain.
When you create a new page, i automatically puts itself at the bottom of it's level. I guess that means that the index is incremental. Is it possible to make it opposite? So that the new page gets Index 0, and the other ones increase with one?
The use case is this:
In a news list, my client would like to get the newest article on top of the list. So I used .OrderBy("CreateDate desc"), which works great. But he also would like to manually bump up an article with manual sorting.
So, if when a new page is saved, it get's Index 0, that would solve it by using just manual sorting.
Have any of you any solution for this?
is working on a reply...