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
User story: As a new candidate running in a future election (currently 2020/2022), I need to be able to see my candidate profile page even during 2018.
When looking at house candidate pages with only an election_year defined as 2020 and only a cycle defined as 2018, we get a 404 error. It currently appears that only House candidate are impacted.
Examples of these types of candidates that were found include:
These Senate and Presidential candidates also have the 2020 candidate election year and 2018 fec_election_yr but they don't have the problem that the House candidates do:
Resolvesfecgov/fec-cms#2463
For new house candidates that file for a future election,
the 2-year period will equal `prev_election_yr`
until we reach the 2-year period for that future election.
This `>=` (rather than `>`) guarantees results for candidate pages.
A `SELECT DISTINCT` on `candidate_id` prevents duplicate rows.
Resolvesfecgov/fec-cms#2463
For new house candidates that file for a future election,
the 2-year period will equal `prev_election_yr`
until we reach the 2-year period for that future election.
This `>=` (rather than `>`) guarantees results for candidate pages.
A `SELECT DISTINCT` on `candidate_id` prevents duplicate rows.
User story: As a new candidate running in a future election (currently 2020/2022), I need to be able to see my candidate profile page even during 2018.
When looking at house candidate pages with only an election_year defined as 2020 and only a cycle defined as 2018, we get a 404 error. It currently appears that only House candidate are impacted.
Examples of these types of candidates that were found include:
https://www.fec.gov/data/candidate/H0FL18173
https://www.fec.gov/data/candidate/H0TX24134
https://www.fec.gov/data/candidate/H0FL01112
https://www.fec.gov/data/candidate/H0FL22050
https://www.fec.gov/data/candidate/H0GA06150
https://www.fec.gov/data/candidate/H0FL04124
These Senate and Presidential candidates also have the 2020 candidate election year and 2018 fec_election_yr but they don't have the problem that the House candidates do:
S0CO00419
S0CO00427
S0NC00277
S0SC00230
S0SC00255
S0KY00271
P00007393
P00006338
P00004911
P00007633
P00006809
P00005660
Completion criteria:
The text was updated successfully, but these errors were encountered: