passing posts into postViewFilter