We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from
collection
Using the from parameter when assigning the result of a collection tag to a variable causes an error.
Assignment: {{ $my_variable = { collection from="my_collection" } }}
{{ $my_variable = { collection from="my_collection" } }}
Error: Modifier [from] not found
Modifier [from] not found
The reason not to use collection:my_collection is so the collection name can be a variable :from="collection_name"
collection:my_collection
:from="collection_name"
Use code above with a valid collection name
No response
Environment Laravel Version: 11.26.0 PHP Version: 8.2.24 Composer Version: 2.7.7 Statamic Version: 5.30.0
Fresh statamic/statamic site via CLI
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug description
Using the
from
parameter when assigning the result of a collection tag to a variable causes an error.Assignment:
{{ $my_variable = { collection from="my_collection" } }}
Error:
Modifier [from] not found
The reason not to use
collection:my_collection
is so the collection name can be a variable:from="collection_name"
How to reproduce
Use code above with a valid collection name
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: