mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-22 22:05:02 +03:00
Reformat clientSearchCols slice literal
This commit is contained in:
@@ -115,8 +115,10 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// clientSearchCols are the text columns the search box matches.
|
// clientSearchCols are the text columns the search box matches.
|
||||||
var clientSearchCols = []string{"c.email", "COALESCE(c.sub_id, '')", "COALESCE(c.comment, '')",
|
var clientSearchCols = []string{
|
||||||
"COALESCE(c.uuid, '')", "COALESCE(c.password, '')", "COALESCE(c.auth, '')"}
|
"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.
|
// 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
|
// SQLite's LOWER() and LIKE fold ASCII only, so non-ASCII text is matched
|
||||||
|
|||||||
Reference in New Issue
Block a user