discourse-solved/spec/models
Natalie Tay 4d20d83374
FIX: User directory for solutions should update when value changes from positive value to zero (#372)
# bug
If John created a post which is a solution in March, the user directory would show that John solution = 1.
In April, if John has not solved a topic, he would still have solution = 1 in the user directory.

# fix
reset solutions to 0 before updating
2025-06-11 10:46:36 +08:00
..
copy_solved_topic_custom_field_spec.rb FIX: Multiple topics may have the same post as its solution (#348) 2025-03-26 22:21:32 +08:00
directory_item_spec.rb FIX: User directory for solutions should update when value changes from positive value to zero (#372) 2025-06-11 10:46:36 +08:00
remove_duplicates_from_discourse_solved_solved_topics_spec.rb FIX: Multiple topics may have the same post as its solution (#348) 2025-03-26 22:21:32 +08:00
site_spec.rb Revert "FIX: Use Guardian.basic_user instead of new (anon) (#270)" (#271) 2023-12-06 16:26:40 +10:00
user_summary_spec.rb FIX: Exclude deleted topics and posts as solution in user summary (#358) 2025-04-04 16:43:00 +08:00