PnP Modern Search filters - Document type
Hi everyone!! I’m working with the PnP Modern Search Results + Filters web parts in SharePoint, and I ran into something confusing with document type filtering.
I recently added a Filters web part using the “Document Type” property, and I noticed that some Word files are categorized as “Word” while others are categorized as “Docx”. Because of that, they show up as separate filter values instead of being grouped together.
Does anyone know why SharePoint/PnP treats these as different file types? Is there a known reason behind this behavior? My first thought was that maybe documents edited/saved through the desktop Office app vs. Office on the web could affect the metadata somehow, but I’m not sure if that’s actually related.
Curious if anyone else has experienced this or found a clean way to normalize/filter them consistently. Thank you!!