advance search modify query
modify query for parameter
modify query for add extra column