I'm implementing a motion filter where you can choose the parameter on which the filter should be based (for example: Date, Species, User) and choose any of these parameters, the value of it in a list (with database values).
The point is that these inputs can receive multiple values, but it considers only one of these values ...
Example:
/consultas/movimentacao-residuo?cd_especie=1&cd_especie=2
In this example it will consider the first parameter, but the second one will not.
What would be the solution to this?