[Geoserver-users] Layer groups- how to have only one layer queryable

I created a layer group consisting of an imagery mosaic, with the orthophoto index layer visible on top of it. I want only the index layer to be queryable, so I unchecked “queryable” for the mosaic. When I preview the layer in OpenLayers I get an error message that the mosaic is not queryable, and no query results for the index layer. How can I get this to work so the index layer, and only the index layer, is queryable?