wms.mergeNewParams({'CQL_FILTER': "type LIKE '%bird%'"}); I already have this line,it filtered the view only and returned all features. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/CQL-Filter-on-WMS-tp5046844p5047132.html Sent from the OpenLayers Users mailing list archive at Nabble.com.