Hey there! So there are ways to do this currently, which is to add a sort to your action that uniquely identifies a record while paginating. However, I’ve added a configuration to the pagination config to set this explicitly, instead of having it default to “add the primary key if the sort is not stable”.
read :read do
pagination do
...
stable_sort [:your_custom_field]
end
end
If there is not a stable sort (a set of fields that uniquely identify the record, i.e primary keys or identities) then that sort will be added. If not set, then the primary key is used. You can try this out in main if you like