mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-28 03:29:08 +01:00
fix: make sorting of strings case insensitive
This commit is contained in:
@@ -14,12 +14,12 @@ import (
|
||||
type User struct {
|
||||
Base
|
||||
|
||||
Username string `sortable:"true"`
|
||||
Email *string `sortable:"true"`
|
||||
Username string `sortable:"case-insensitive"`
|
||||
Email *string `sortable:"case-insensitive"`
|
||||
EmailVerified bool `sortable:"true" filterable:"true"`
|
||||
FirstName string `sortable:"true"`
|
||||
LastName string `sortable:"true"`
|
||||
DisplayName string `sortable:"true"`
|
||||
FirstName string `sortable:"case-insensitive"`
|
||||
LastName string `sortable:"case-insensitive"`
|
||||
DisplayName string `sortable:"case-insensitive"`
|
||||
IsAdmin bool `sortable:"true" filterable:"true"`
|
||||
Locale *string
|
||||
LdapID *string
|
||||
|
||||
Reference in New Issue
Block a user