-
Notifications
You must be signed in to change notification settings - Fork 20
List sub incorrectly uses Node Type for Edge #224
Copy link
Copy link
Open
Description
In "ogent/ogent/helper/list/sub", subtemplates are called on $.Type instead of $.Scope.Edge.Type:
Line 18 in 493e109
| {{- template "ogent/ogent/helper/list/paginate" $.Type -}} |
It should be:
{{- template "ogent/ogent/helper/list/paginate" $.Scope.Edge.Type -}}
{{- if hasTemplate "ogent/ogent/helper/list/filter" }}{{ template "ogent/ogent/helper/list/filter" $.Scope.Edge.Type }}{{ end -}}
The current implementation makes it impossible to override the paginate and filter templates (without a workaround) when trying to use the actual type.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels