'Modify query to filter by category.'

def filter(self, trans, user, query, column_filter):

    if (column_filter == 'All'):
        return query
    return query.filter((model.Category.name == column_filter))
