Skip to content

Conversation

@jamesspeake
Copy link
Contributor

Changelog

Fixed

  • Correct numbers for survey results in report builder when logic is present in survey

Technical

  • Refactored survey results services to fix bugs and also improve performance

@notion-workspace
Copy link

@cl-dev-bot
Copy link
Collaborator

cl-dev-bot commented Dec 29, 2025

Messages
📖 Changelog provided 🎉
📖 Notion issue: TAN-5965
📖

Run the e2e tests

📖 Check translation progress

Generated by 🚫 dangerJS against 85f1297

Comment on lines -468 to +434
options.order(:ordering)
options # options are by default ordered by :ordering from the association
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed .order(:ordering) as by default options are returned in this order. Noticed that having this additional clause results in an additional query for options that are already loaded when this method is used.

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.

3 participants