-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
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
selectattr with equalto filter is not working #78
Comments
Thanks a lot :) |
I'm having this issue modifying a template in HubSpot's design manager, is there a time frame for when fixes move to the hosted platform? Documentation for the filter displays correctly, however I am receiving the error: TemplateSyntaxException: com.hubspot.jinjava.interpret.InterpretException: equalto test requires 1 argument If this is a new issue unrelated to the above, let me know and I can open one for it. |
@wilsbach, thanks for the reminder. The latest Jinjava is now live in HubSpot. Please give it another try. |
When I have a list of items and I want to filter them using selectattr like this
items | selectattr('property', 'equalto', 'fixed-value')
I'm getting the following error:
But that is exactly the syntax mentioned in https://github.com/HubSpot/jinjava/blob/5e6411216131e5405af8259bfddaef61a6550ac3/src/main/java/com/hubspot/jinjava/lib/exptest/IsEqualToExpTest.java. Am I using this the wrong way or is this a bug?
The text was updated successfully, but these errors were encountered: