Skip to content

Commit

Permalink
Update generated_sort.gotpl
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlindhout authored Jul 15, 2021
1 parent fcd1ba2 commit 965ad63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template_files/generated_sort.gotpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
}

Expand Down

0 comments on commit 965ad63

Please sign in to comment.