will do! thank you so much!
After reading through that, will you let me know if you're still stuck?
It provides methods like setPreference
Well there is an API for dealing with user preferences
Hmm
yes. is there an config for that or does it save on default?
So not only can you not change the preferences, they don't persist when changed?
Hmmm
not really a one time. maybe when a user sets its preference on different order
because the problem really for me is when a user logs out and logs back in, the columns are back to its default setup
But it can happen with changes to collections, etc
Ideally you wouldn't be in this kind of in-between state with preferences
Because dropping the _preferences collection will surely do it
As like a one time thing? Or in general
yes
Do you mean dropping user preferences?
is there anyway to do this without deleting the user and recreating it?
got it thank you!
but otherwise, dropping that table is the way
If you delete your user and recreate it, preferences will get reset.
You may need to drop the
_preferences
collection in MongoDB. I don't know if there's an easy way to do this, I use Atlas so I just do it from the mongodb website.
Hi I've set my defaultColumns to the following for Media Collection List Page under admin: defaultColumns: ['title', 'customId', 'description', 'fileName'].
However, it doesn't do anything.
Any ideas?
Ty.
Star
Discord
online
Get dedicated engineering support directly from the Payload team.