fecgov / openFEC-web-app

DEPRECATED See https://github.com/18F/fec-cms for fec.gov's code
Other
43 stars 31 forks source link

Set default senate cycle to the current two year period #2229

Closed noahmanger closed 7 years ago

noahmanger commented 7 years ago

image

This makes it so that on https://fec.gov/data/candidates/senate/ , the default time period is whatever the constant DEFAULT_TIME_PERIOD is set to (now, 2018). While on https://fec.gov/data/candidates/president/ it stays 2016.

Requires a tweak in fec-style.

Resolves https://github.com/18F/openFEC-web-app/issues/2228

codecov-io commented 7 years ago

Codecov Report

Merging #2229 into develop will increase coverage by 0.01%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2229      +/-   ##
===========================================
+ Coverage     55.7%   55.71%   +0.01%     
===========================================
  Files           51       51              
  Lines         3244     3245       +1     
  Branches       392      392              
===========================================
+ Hits          1807     1808       +1     
  Misses        1405     1405              
  Partials        32       32
Impacted Files Coverage Δ
openfecwebapp/constants.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2edf6a2...756bd2d. Read the comment docs.