need to sorting on user, admin and owner from enum instead of integer value 0, 1, 2 role: { user: 0, admin: 1, owner: 2 } #1626
ankush-maro
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to sort record on the basis of role string value like user, admin, owner instead of integer value 0, 1, 2,
anyone can help me for it.
users method is
membership model from where role enum type
Beta Was this translation helpful? Give feedback.
All reactions