added basic filtering on search page