AAIT#34933 filters :null en :notnull (en :!null && :!notnull) toegevoegd voor scaffolding default filters

svn path=/Website/trunk/; revision=34845
This commit is contained in:
Jos Groot Lipman
2017-08-07 11:45:47 +00:00
parent fcbac73ae0
commit d84cded707

View File

@@ -119,9 +119,9 @@ var scf =
result.vmin = def.split('-')[0];
result.vmax = def.split('-')[1];
}
if (result.vmin.toLowerCase() == "null")
if (typeof result.vmin == 'string' && result.vmin.toLowerCase() == "null")
result.vmin = "NULL";
else if (result.vmin.toLowerCase() == "notnull")
else if (typeof result.vmin == 'string' && result.vmin.toLowerCase() == "notnull")
result.vmin = "NOT NULL";
else switch (field.typ)
{