You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected is now that the value of var evaluates to bool.
If i now use this in a filter string, the filter does generate an error:
.. need_table::
:filter: "ABC" in id and var
sphinx_needs.api.exceptions.NeedsInvalidFilter:-1: Filter "'ABC' in id and var" not valid. Error: Filter did not evaluate to a boolean, instead <class 'str'>: .
cause it seems that the variant is not evaluated. How could this be evaluated for filtering?
The text was updated successfully, but these errors were encountered:
I've created a needs_variant like from the examples
and added an option to evaluate this variant
I assume to use this now as
Expected is now that the value of var evaluates to bool.
If i now use this in a filter string, the filter does generate an error:
cause it seems that the variant is not evaluated. How could this be evaluated for filtering?
The text was updated successfully, but these errors were encountered: