tabbycat icon indicating copy to clipboard operation
tabbycat copied to clipboard

Speaker pages don't list adjudicators when there's only one adjudicator

Open czlee opened this issue 2 years ago • 0 comments

When a debate is being judged by a solo adjudicator, the speaker private URL page (and presumably other similar pages) doesn't list adjudicators, and instead lists the message

There are no panellists or trainees assigned to this debate.

image

For speakers, it should instead list the adjudicators for the debate, just like any other debate. For adjudicators, it can omit the adjudicators list on solo adjudicator debates (I think this is where the bug originates), but it might just be easiest to list the whole panel just like any other debate.

https://github.com/TabbycatDebate/tabbycat/blob/46e9c9eaf3b5956585316888129586292f5d97e7/tabbycat/participants/templates/current_round/common.html#L22-L47

Probably caused by 313e6dab8bfb9980bb1cb3fbd9e1e86560e05098 (#930), which deduplicated the speaker and adjudicator page code. This filter was on the adjudicator page because if you're the only adjudicator, it didn't make sense to list the others, but the filter wasn't on the speaker page (so the two pages weren't previously identical).

czlee avatar May 29 '22 04:05 czlee