change up database configuration to use discrete values for parameters, rather than the raw DSN (database/base.go computes the DSN)
This commit is contained in:
+1
-1
@@ -321,7 +321,7 @@ func setupTemplates() {
|
||||
views.AddGlobalFunc("DisplayExpandCat", displayExpandCat)
|
||||
|
||||
views.AddGlobalFunc("GetCountryList", func(jet.Arguments) reflect.Value {
|
||||
return reflect.ValueOf(util.AmCountryList())
|
||||
return reflect.ValueOf(util.AmCountryList(config.GlobalConfig.Rendering.CountryList.Prioritize))
|
||||
})
|
||||
views.AddGlobalFunc("GetLanguageList", func(jet.Arguments) reflect.Value {
|
||||
return reflect.ValueOf(util.AmLanguageList())
|
||||
|
||||
Reference in New Issue
Block a user