Преглед на файлове

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