diff options
author | zeripath <art27@cantab.net> | 2021-12-16 15:55:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 23:55:12 +0800 |
commit | e0e3ba6c12c4094dfb1ff0dc5f290214cf9bfe54 (patch) | |
tree | 4284180ee25635036097234172f748718cb23bac /services/forms | |
parent | 3a3cbcfdf077242cf788d8c9a9ac68bd77cb4ff5 (diff) | |
download | gitea-e0e3ba6c12c4094dfb1ff0dc5f290214cf9bfe54.tar.gz gitea-e0e3ba6c12c4094dfb1ff0dc5f290214cf9bfe54.zip |
Add Reindex buttons to repository settings page (#17494)
This PR adds reindexing request buttons to the repository settings page.
Fix #3796
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'services/forms')
-rw-r--r-- | services/forms/repo_form.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go index 7c61be5e22..c571951bb9 100644 --- a/services/forms/repo_form.go +++ b/services/forms/repo_form.go @@ -161,7 +161,8 @@ type RepoSettingForm struct { TrustModel string // Admin settings - EnableHealthCheck bool + EnableHealthCheck bool + RequestReindexType string } // Validate validates the fields |