// ok without messing up paging.
String defFilter = getFilter(request, FILTER_DEFINITION, String.class);
if (null != defFilter && !defFilter.isEmpty()) {
defFilter = defFilter.toLowerCase();
for (Iterator<DriftComposite> i = result.getValues().iterator(); i.hasNext();) {
DriftComposite composite = i.next();
if (!composite.getDriftDefinitionName().toLowerCase().contains(defFilter)) {
i.remove();
}
}
}