func (f searchADCFFilter) CheckUnscoped(tx *xorm.Session) *xorm.Session { if f.Unscoped { tx.Unscoped() } return tx }