Skip to content

Wagtail Bug: Document Page template pages are showing up in search results #5918

@dorothyyeager

Description

@dorothyyeager

Summary

When searching for a PDF document, the page used to feed that PDF into a document feed is showing up in search results. That's not good because those pages contain no content and will confuse users.

Example: Enter "shutdown" into global search

This page and others like it appear: https://www.fec.gov/about/reports-about-fec/agency-operations/fec-plan-for-agency-operations-in-the-absence-of-the-fiscal-year-2024-appropriation/

image

What should have happened?

It would be better if the document feed page associated with that document appeared: https://www.fec.gov/about/reports-about-fec/agency-operations/

Alternatively, it would work OK if the PDF associated with the page was included on the document page: https://www.fec.gov/resources/cms-content/documents/FY2024-Shutdown-Plan-07-27-2023.pdf

Frequency

Since site search improved

How to Reproduce

Enter a term like "shutdown" into global search and click results that aren't PDFs.

Device, browser, etc

Happened on Chrome

Screenshots

Above

Misc

@dorothyyeager is available to pair or answer questions about what needs to show up.

Metadata

Metadata

Labels

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions