mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 10:45:44 +08:00

This allows the category_id filter for the bookmark report to work with polymorphic bookmarks. Honestly this is a little hardcode-y at the moment but until we go and make this report a lot more flexible with more filters I don't think it's worth the work to add extra interfaces to RegisteredBookmarkable and BaseBookmarkable to make this more flexible. This is enough for now.