Monorepo for Tangled tangled.org
7

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.

author
smit.codes
committer
Tangled
date (May 22, 2026, 10:45 AM +0300) commit 4ee949d8 parent 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