I was using the PnP modern content search web part to list all subsites in a site collection but the search query that used to be working is no longer working any more. It doesn't list subsites recently. Is there any change on the query parameter from MS or any other updates I'm not aware of?
The search Query I used was:
((path:{SiteCollection.URL} AND contentclass=STS_Web AND ) -ContentClass=urn:content-class:SPSPeople)