Commit e3be233c authored by Robert Rudman's avatar Robert Rudman

Restrict progress page to start of feature or burn

parent 2a2888c1
Pipeline #41495411 passed with stages
in 4 minutes and 43 seconds
......@@ -123,6 +123,7 @@ namespace Rodgort.Controllers
.Select(s => new { s.DateTime, s.QuestionCount }).OrderBy(s => s.DateTime).ToList(),
Actions = _context.UserActions
.Where(ua => isRoomOwner || ua.Time > mq.BurnStarted)
.Where(s => s.Time > (mq.FeaturedStarted ?? mq.FeaturedEnded ?? mq.BurnStarted ?? mq.BurnEnded))
.Where(ua => ua.Tag == mqt.TagName).Select(ua => new
{
ua.PostId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment