Fix bug w/ filter in URL not having any values not being respected. Add selenium test for it!!

This commit is contained in:
2023-07-26 12:39:58 -05:00
parent cd7e6b8db1
commit f189083a5a
3 changed files with 204 additions and 4 deletions

View File

@ -449,12 +449,15 @@ class FilterUtils
//////////////////////////////////////////////////////////////////////////
// replace objects that look like expressions with expression instances //
//////////////////////////////////////////////////////////////////////////
for(let i = 0; i < values.length; i++)
if(values && values.length)
{
const expression = this.gridCriteriaValueToExpression(values[i])
if(expression)
for (let i = 0; i < values.length; i++)
{
values[i] = expression;
const expression = this.gridCriteriaValueToExpression(values[i])
if (expression)
{
values[i] = expression;
}
}
}