kiwitcms / Kiwi

open source test management system with over 2 million downloads!
https://kiwitcms.org
GNU General Public License v2.0
989 stars 296 forks source link

Update filter logic for Automated=False. Fixes #3841 #3843

Closed atodorov closed 1 week ago

atodorov commented 1 week ago

the boolean expression tc[filterBy] was intended to check whether the requested field exists, as a way to avoid crashes in the case where we may have forgotten to update the code. However in the case when trying to search for manual test cases the raw value of this field is false which caused the entire expression to be evaulated as False and did not apply the filter.