浏览代码

Reformat clientSearchCols slice literal

MHSanaei 12 小时之前
父节点
当前提交
40ca2cd72f
共有 1 个文件被更改,包括 4 次插入 和 2 次删除
  1. 4 2
      internal/web/service/client_paging.go

+ 4 - 2
internal/web/service/client_paging.go

@@ -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