def alter_search(self, search):
    filters = ['MMS/job.job_number_prefix', 'MMS/job.job_number_year', 'MMS/job.job_number']
    for filter in filters:
        value = self.values.get(filter)
        if value:
            (search_type, column) = filter.split('.')
            search.add_filter(column, value)
def alter_search(self, search):
    filters = ['MMS/job.job_number_prefix', 'MMS/job.job_number_year', 'MMS/job.job_number']
    for filter in filters:
        value = self.values.get(filter)
        if value:
            (search_type, column) = filter.split('.')
            search.add_filter(column, value)