fix(api): use correct field for lastReadTime#779
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🧰 Additional context used📓 Path-based instructions (1)backend/src/**/*.java📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (4)📓 Common learnings📚 Learning: 2026-04-01T17:50:06.817ZApplied to files:
📚 Learning: 2026-04-10T08:15:37.436ZApplied to files:
📚 Learning: 2026-04-14T12:43:08.698ZApplied to files:
🔀 Multi-repo context grimmory-tools/grimmory-docsLinked repositories findingsgrimmory-tools/grimmory-docs
Quality / relevance: Documentation contains explicit examples and field names using 🔇 Additional comments (3)
📝 WalkthroughWalkthroughFixes a sorting exception when filtering books by "Last Read" by introducing user-specific book progress filtering and correcting the property path for the sort field from a non-existent property to the joined Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
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. Comment |
|
Tested by manually manipulating the database before and after & observing the result in the UI. |
Description
For the sort order
lastreadtimewe current try to use the fieldlastReadTimeoff ofBookEntity. this does not exist which leads to an exception and a failureInstead, we can use
progress.lastReadTimeLinked Issue: Fixes #776
Changes
lastreadtimeto useprogress.lastReadTimeSummary by CodeRabbit