From 965ad63bc122a65272173ee8809c5bb38084b1ba Mon Sep 17 00:00:00 2001 From: Robin Lindhout <79744544+RobinLindhout@users.noreply.github.com> Date: Thu, 15 Jul 2021 20:46:05 +0200 Subject: [PATCH] Update generated_sort.gotpl --- template_files/generated_sort.gotpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template_files/generated_sort.gotpl b/template_files/generated_sort.gotpl index db853e3..88e4d10 100644 --- a/template_files/generated_sort.gotpl +++ b/template_files/generated_sort.gotpl @@ -43,7 +43,7 @@ import ( {{- if eq $field.Name "Sort" -}} var {{ $field.Enum.Name }}Column = map[{{ $.Frontend.PackageName }}.{{$field.Enum.Name}}]string{ {{- range $value := $field.Enum.Values}} - {{ $.Frontend.PackageName }}.{{ $field.Enum.Name|go }}{{ .Name|go }}: {{ $.Backend.PackageName }}.{{ $model.BoilerModel.Name }}Columns.{{ $value.Name|go }}, + {{ $.Frontend.PackageName }}.{{ $field.Enum.Name|go }}{{ .Name|go }}: {{ $.Backend.PackageName }}.{{ $model.BoilerModel.Name }}Columns.{{ $value.BoilerEnumValue.Name|go }}, {{- end }} }