Princeton-CDH / cdh-web

the CDH website
https://cdh.princeton.edu
Apache License 2.0
1 stars 5 forks source link

As a user, I want to see student profiles ordered with grant awardees last, so that the order reflects who actually works most closely with CDH. #218

Open thatbudakguy opened 3 years ago

thatbudakguy commented 3 years ago

see #217, which operates according to the same logic: we care most (on profile pages) about highlighting students/people who work with us the most, so PMs and others are more important than student grant awardees (who may actually interact with us very little).

this would involve changing the ProfileQuerySet logic to weight grant awards to students lower than titles. the order of titles can already be controlled by changing their order number, but this isn't true for grant awards.

thatbudakguy commented 3 years ago

it isn't obvious how to easily do this, since basing it on relationship to grants alone would de-weight PMs whose only relationship to the CDH is also through a grant. we would need to do something like "give students who are only project director on a grant an artificial number as if they had a low-weighted title", which I tried a variation of without success.

moving out of 2.8 milestone since it's so complicated.