NCIOCPL / cgov-digital-platform

The Cancer.gov Digital Communications Platform
GNU General Public License v2.0
11 stars 33 forks source link

Add tie breaker for press release views #3341

Open bryanpizzillo opened 2 years ago

bryanpizzillo commented 2 years ago

Issue description

ESTIMATE TBD

The press release views (e.g., press release archive) only sort by the posted date. There is no tie breaker so two items with the same date and time may change their order based on how the database chooses to retrieve them. There needs to be a tie breaker. This was discovered during a totally unrelated testing of a PR because, we can only guess, more YAML content was added which probably affected how those items ultimately got stored on the disk by the DB.

bryanpizzillo commented 2 years ago

NOTE: This could affect blog posts.