rfaulkner / wikipedia_user_metrics

Wikimedia Foundation E3 Team Analysis Code
Other
9 stars 5 forks source link

Backend. Hide inactive cohorts #41

Open dartar opened 11 years ago

dartar commented 11 years ago

There will be a lot of testing against the usertags table prior to the release, so I suggest we add an "active" field to avoid populating the cohort list on the API with empty or inactive cohort IDs.

rfaulkner commented 11 years ago

Sounds good!

Should you take this one on dartar? Maybe this should be two issues:

  1. add the field in the db
  2. filter out the inactive cohorts in the api module

You do 1. I do 2. ?

dartar commented 11 years ago

sure

dartar commented 11 years ago

Ported to bugzilla: https://bugzilla.wikimedia.org/show_bug.cgi?id=47273