mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-21 19:31:28 +00:00
Reformat clientSearchCols slice literal
This commit is contained in:
parent
bb18734c77
commit
40ca2cd72f
1 changed files with 4 additions and 2 deletions
|
|
@ -115,8 +115,10 @@ const (
|
|||
)
|
||||
|
||||
// clientSearchCols are the text columns the search box matches.
|
||||
var clientSearchCols = []string{"c.email", "COALESCE(c.sub_id, '')", "COALESCE(c.comment, '')",
|
||||
"COALESCE(c.uuid, '')", "COALESCE(c.password, '')", "COALESCE(c.auth, '')"}
|
||||
var clientSearchCols = []string{
|
||||
"c.email", "COALESCE(c.sub_id, '')", "COALESCE(c.comment, '')",
|
||||
"COALESCE(c.uuid, '')", "COALESCE(c.password, '')", "COALESCE(c.auth, '')",
|
||||
}
|
||||
|
||||
// caseVariants returns s lower-cased, as typed, upper-cased and title-cased.
|
||||
// SQLite's LOWER() and LIKE fold ASCII only, so non-ASCII text is matched
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue