edit the get condition function
did a refactor to the filter conditions need to be dry more
edit the js to holder the filterparam 3