Esempio n. 1
0
        private object getMainQueryExcludingTicketId(SearchRequestDto searchDTO)
        {
            var cloned     = searchDTO.DeepClone();
            var parameters = cloned.GetParameters();

            if (parameters != null && parameters.ContainsKey("hlagchangeticketid"))
            {
                parameters.Remove("hlagchangeticketid");
                cloned.SearchParams = cloned.SearchParams.Replace("||,hlagchangeticketid", "");
                cloned.SearchParams = cloned.SearchParams.Replace("hlagchangeticketid", "");
            }
            return(GetFilterQuery("wochange", cloned));
        }