Group Page need some Styling Attention (again)

(cpradio) #1

@awesomerobot, you may want to look at the Group Pages styling again, note how the first post seems to drop down below the Members navigation (looks really weird).

Also, there is no Group Name on this page… so you can’t tell what group I’m viewing and can we get the Category to show up on the posts too (I realize that’s an enhancement)?

(Robin Ward) #2

This is probably my fault with recent loading spinner changes. I’ll look at it now.

(Robin Ward) #3

Fixed it up:

(cpradio) #4

Cool, I’ll look at enhancing the Group page to include Category on posts (since it isn’t currently part of core and would be an “enhancement”)

(cpradio) #5

Okay, I could use a bit of guidance.

So I’ve found my way to

then to

Which uses

As you can see it doesn’t have category_id.

I can’t quite figure out how to get category_id in there. Adding it to the serializer fails, because it isn’t part of Post. Do I have to use the SQLBuilder for this? As I’m worried about introducing regression bugs if I go that route or is there a better way of adding category_id?

(Kane York) #6

Try object.topic.category.

(cpradio) #7

Thank you! That is exactly what I was missing :smile:

(cpradio) #9

PR Sent

(Régis Hanol) #10