I'm trying to use the layerDefs param on WMS GetMap and GetFeatureInfo requests and it seems to only work when querying certain data fields.
It will return the correct results when querying some fields and no results for others.
Is there any reason I would be seeing this behaviour?
Are there certain types of fields that it doesn't work for or do I need to configure something specifically for it to work?