discourse/plugins/discourse-solved/lib
Régis Hanol aa94311d97
DEV: refactor user card/summary accepted answer's query (#35500)
In
be5798f6d8
we standardized the way we counted a user's accepted answers.

This makes it a little bit more obvious by refactoring the query into it
own files (queries.rb) and using that in both the user card and user
summary serializers.

Also improved the specs coverage.

Internal ref - t/149121
2025-10-31 08:49:36 +01:00
..
discourse_assign
discourse_automation
discourse_dev
discourse_solved DEV: refactor user card/summary accepted answer's query (#35500) 2025-10-31 08:49:36 +01:00