Skip to content

fix: remove remaining subject/chapter slug selects and display resource comments count on feed - #465

Merged
trtajim merged 1 commit into
mainfrom
fix/subject-slug-and-note-filters
Oct 26, 2026
Merged

trtajim merged 1 commit into
mainfrom
fix/subject-slug-and-note-filters

Conversation

@trtajim

@trtajim trtajim commented Oct 26, 2026

Copy link
Copy Markdown
Member

Summary

  • Removed lingering slug selects on subjects and chapters across HomeController, ForumController, ResourceController, and UserProfileController to eliminate the 500 error on MySQL where slug was dropped.
  • Added lecture_sheet and marked_book to the type whitelist in NoteController so filtering by those types works as expected.
  • Added comments_count to the feed query in HomeController and rendered the comments count badge on ResourceFeedCard.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@trtajim
trtajim merged commit e80e6a2 into main Oct 26, 2026
5 of 6 checks passed
@trtajim
trtajim deleted the fix/subject-slug-and-note-filters branch October 26, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant