diff options
Diffstat (limited to 'tpl/collections/sort.go')
-rw-r--r-- | tpl/collections/sort.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/collections/sort.go b/tpl/collections/sort.go index 83029b310..4a2106039 100644 --- a/tpl/collections/sort.go +++ b/tpl/collections/sort.go @@ -46,7 +46,7 @@ func (ns *Namespace) Sort(l any, args ...any) (any, error) { return nil, errors.New("can't sort " + reflect.ValueOf(l).Type().String()) } - collator := langs.GetCollator(ns.deps.Conf.Language()) + collator := langs.GetCollator1(ns.deps.Conf.Language()) // Create a list of pairs that will be used to do the sort p := pairList{Collator: collator, sortComp: ns.sortComp, SortAsc: true, SliceType: sliceType} |