mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 10:17:56 +00:00
fix: new namespaced calls
See https://discord.com/channels/722225264733716590/1169641769152036934/1169641769152036934
This commit is contained in:
1 parent
66b38685ac
commit
68afe49fb1
1 file changed
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
{{/* Sort */}}
|
||||
{{ $sort_by := $block.content.sort_by | default "Params.last_name" }}
|
||||
{{ $sort_by = partial "functions/get_sort_by_parameter" $sort_by }}
|
||||
{{ $sort_by = partial "wowchemy-core/functions/get_sort_by_parameter" $sort_by }}
|
||||
{{ $sort_ascending := $block.content.sort_ascending | default true }}
|
||||
{{ $sort_order := cond $sort_ascending "asc" "desc" }}
|
||||
{{ $query = sort $query $sort_by $sort_order }}
|
||||
|
||||
Reference in new issue
Block a user