NCIOCPL / clinical-trials-listing-app

React Application for listing clinical trials
3 stars 1 forks source link

Canonical URLs do not reflect page numbers #222

Closed blairlearn closed 2 months ago

blairlearn commented 6 months ago

Issue description

When navigating through multiple pages of results, the canonical URL does not reflect the page number.

ESTIMATE TBD

Steps to reproduce the issue

  1. Navigate to https://www.cancer.gov/research/participate/clinical-trials/disease/breast-cancer (or any other listing with multiple pages of results)
  2. Use the pager to navigate to another page.
  3. Use the browser's development tools to view the <link rel="canonical"> tag. (Important: view source does not reflect the DOM)

What's the expected result?

What's the actual result?

Additional details / screenshot

Screenshot 2024-05-01 at 11 25 04 AM

Related Tickets