snowdriftcoop / snowdrift

Infrastructure for Snowdrift.coop. This is a MIRROR of https://gitlab.com/snowdrift/snowdrift. Your issue reports and merge requests are welcome, but they will be moved to gitlab.com. You are encouraged to start there instead!
https://snowdrift.coop
GNU Affero General Public License v3.0
92 stars 36 forks source link

abstract ticket counting to user model #325

Closed hollocherdale closed 9 years ago

hollocherdale commented 9 years ago

aaron helped out with this. We took the ticket counting out of the handler so that it can be simply called on the user page. Not sure if this was the best approach.

chreekat commented 9 years ago

Thanks @hollocherdale! This is a good patch, except for the whitespace issues @singpolyma mentioned. Don't worry about doing "count" inside the database. He's right, but we can worry about that separately. Just add/remove whitespace as appropriate and this will be merged.

chreekat commented 9 years ago

I'm just going to merge and fix up the whitespace myself, so things don't get stale.

chreekat commented 9 years ago

This was merged with conflicts resolved; Github apparently didn't notice. Closing.