summaryrefslogtreecommitdiffstats
path: root/routers/repo/setting.go
diff options
context:
space:
mode:
authorCosmin Stroe <cstroe@users.sf.net>2016-04-22 17:28:08 -0500
committerUnknwon <u@gogs.io>2016-04-22 18:28:08 -0400
commitba314a7a36eafc6412544515ebcde58479400e41 (patch)
tree0bbc22db898a9b5e17074ac583ffabf1cdf6d091 /routers/repo/setting.go
parent39356f423843bcd747bb21526d09bfe6114dde58 (diff)
downloadgitea-ba314a7a36eafc6412544515ebcde58479400e41.tar.gz
gitea-ba314a7a36eafc6412544515ebcde58479400e41.zip
Support alphanumeric issue style (ABC-1234) for external issue tracker (#2992)
Diffstat (limited to 'routers/repo/setting.go')
-rw-r--r--routers/repo/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/setting.go b/routers/repo/setting.go
index 6785722422..99f9b8af83 100644
--- a/routers/repo/setting.go
+++ b/routers/repo/setting.go
@@ -130,6 +130,7 @@ func SettingsPost(ctx *context.Context, form auth.RepoSettingForm) {
repo.EnableIssues = form.EnableIssues
repo.EnableExternalTracker = form.EnableExternalTracker
repo.ExternalTrackerFormat = form.TrackerURLFormat
+ repo.ExternalTrackerStyle = form.TrackerIssueStyle
repo.EnablePulls = form.EnablePulls
if err := models.UpdateRepository(repo, false); err != nil {