def alter_search(self, search):
    prefix = self.values.get('prefix')
    column = self.values.get(('%s_column' % prefix))
    option = self.values.get('option')
    if (option == 'my_items'):
        search.add_user_filter()
    elif (option == 'all_items'):
        pass
def alter_search(self, search):
    prefix = self.values.get('prefix')
    column = self.values.get(('%s_column' % prefix))
    option = self.values.get('option')
    if (option == 'my_items'):
        search.add_user_filter()
    elif (option == 'all_items'):
        pass