[OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE doesn't filter special characters!
Diego M.
oo_O2_oo at hotmail.com
Sat Jan 5 22:35:45 PST 2013
Ok, I tried:
*var filter = new OpenLayers.Filter.Comparison(
{ type: OpenLayers.Filter.Comparison.LIKE,
property: 'name',
value: input }
);
filter.value2regex( "-","." ); *
I wanted to escape those two characters from any value. but nothing changes.
any input contains "-" or "." will not be filtered!!
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/OpenLayers-Filter-Comparison-LIKE-doesn-t-filter-special-characters-tp5025321p5025796.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list