Monorepo for Tangled
0

Configure Feed

Select the types of activity you want to include in your feed.

search: allow lang as a language filter alias

Adds `lang:` as a shorthand alias for language search filters.

Users can now search with either `language:Go` or `lang:Go`. The search UI continues to generate `language:` filter links, while the helper text documents both supported syntaxes.

authored by

smit.codes and committed by
Tangled
(May 22, 2026, 10:45 AM +0300) 4ee949d8 410348ca

+1 -1
+1 -1
appview/state/search.go
··· 28 28 sortField, sortDesc := parseSortParam(sortParam) 29 29 30 30 var language string 31 - if lang := query.Get("language"); lang != nil { 31 + if lang := cmp.Or(query.Get("language"), query.Get("lang")); lang != nil { 32 32 language = *lang 33 33 } 34 34