check-api icon indicating copy to clipboard operation
check-api copied to clipboard

CV2-6314: remove unneeded code related to sources_count field

Open melsawy opened this issue 10 months ago • 0 comments

Description

The cached field approach has already updated the value in ES, so I removed the other code to prevent hitting ES twice for the same field.

References: CV2-6314

How to test?

Please describe how to test the changes (manually and/or automatically).

Checklist

  • [x] I have performed a self-review of my code and ensured that it is safe and runnable, that code coverage has not decreased, and that there are no new Code Climate issues. I have also followed Meedan's internal coding guidelines.

melsawy avatar Apr 11 '25 06:04 melsawy