Actions
Bug #18003
closedfilter group validation incorrectly rejects 'contains' and 'exists'
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Story points:
-
Release:
Release relationship:
Auto
Description
api/app/models/groups.rb
if ! ["=","<","<=",">",">=","!=","like","ilike","in","not in","is_a"].include?(filter[1].downcase) errors.add :properties, "filter operator is not valid (must be =,<,<=,>,>=,!=,like,ilike,in,not in,is_a)" return end
This is missing the 'contains' and 'exists' operators.
Actions