You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…page
Fixesrubygems#4448
Previously, the "since date" was using oldest `version.authored_at` for a given
page. This change fixes it to get the oldest `version.authored_at` in
the database. Because `authored_at` depends on either `built_at` or
`created_at`, I fetch both and take the min. This should only be 2
additional queries of 1 record each.
I modified existing tests to check for the "versions since" text and
also have 2 pages of actual content.
…page
Fixesrubygems#4448
Previously, the "since date" was using oldest `version.authored_at` for a given
page. This change fixes it to get the oldest `version.authored_at` in
the database. Because `authored_at` depends on either `built_at` or
`created_at`, I fetch both and take the min. This should only be 2
additional queries of 1 record each.
I modified existing tests to check for the "versions since" text and
also have 2 pages of actual content.
Steps to Reproduce
Expected Behavior
The date should not change depending on the selected page, it should always be the date of the oldest page / the oldest known gem release.
Current Behavior
The date is dependent on the pagination. Pages in between get different dates.
The text was updated successfully, but these errors were encountered: