This function is to generate the string in the JDOQL query for some given value of a filter.
filterstring(filtername, filtervalues, logic = "||", bridge = "==")A character which is for the responding variable name in Wildbook framework.
A vector of the value for the filter.
A parameter which can be "&&" for the logical AND or "||" for the logical OR.
An operator to connect the name and the default value is "==".