return issueFilter;
}
public DefaultIssueFilter updateFilterQuery(Long issueFilterId, Map<String, Object> filterQuery, UserSession userSession) {
String user = getNotNullLogin(userSession);
IssueFilterDto issueFilterDto = findIssueFilterDto(issueFilterId, user);
<BUG>verifyCurrentUserCanModifyFilter(issueFilterDto.toIssueFilter(), user, userSession);
DefaultIssueFilter issueFilter = issueFilterDto.toIssueFilter();</BUG>
issueFilter.setData(serializeFilterQuery(filterQuery));
issueFilterDao.update(IssueFilterDto.toIssueFilter(issueFilter));
return issueFilter;

return issueFilter;
}
public DefaultIssueFilter updateFilterQuery(Long issueFilterId, Map<String, Object> filterQuery, UserSession userSession) {
String user = getNotNullLogin(userSession);
IssueFilterDto issueFilterDto = findIssueFilterDto(issueFilterId, user);
verifyCurrentUserCanModifyFilter(issueFilterDto.toIssueFilter(), user);
DefaultIssueFilter issueFilter = issueFilterDto.toIssueFilter();
issueFilter.setData(serializeFilterQuery(filterQuery));
issueFilterDao.update(IssueFilterDto.toIssueFilter(issueFilter));
return issueFilter;
