aboutsummaryrefslogtreecommitdiffstats
path: root/modules/indexer/code/elasticsearch/elasticsearch.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-03-16 17:20:13 +0800
committerGitHub <noreply@github.com>2024-03-16 10:20:13 +0100
commite0ea3811c4178ffa30452b7ca4bd211e59326f91 (patch)
treebc9b585c2e5f7b81b285dcf6e48c2905409e137a /modules/indexer/code/elasticsearch/elasticsearch.go
parent6ead30dbc469803d7e8361b13217e07d87d6f80d (diff)
downloadgitea-e0ea3811c4178ffa30452b7ca4bd211e59326f91.tar.gz
gitea-e0ea3811c4178ffa30452b7ca4bd211e59326f91.zip
Refactor AddParam to AddParamIfExist (#29834)
When read the code: `pager.AddParam(ctx, "search", "search")`, the question always comes: What is it doing? Where is the value from? Why "search" / "search" ? Now it is clear: `pager.AddParamIfExist("search", ctx.Data["search"])`
Diffstat (limited to 'modules/indexer/code/elasticsearch/elasticsearch.go')
0 files changed, 0 insertions, 0 deletions