# Problèmes de comptage des likes lors de la migration d'OSQA vers Discourse

**URL:** <https://meta.discourse.org/t/issues-in-like-count-for-osqa-migration-to-discourse/94880>\
**Category:** Development\
**Created:** [Août 16, 2018, 3:03 UTC](https://meta.discourse.org/t/issues-in-like-count-for-osqa-migration-to-discourse/94880 "2018-08-16T15:03:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![praveendhinwa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/praveendhinwa/32/108964_2.png) [@praveendhinwa](https://meta.discourse.org/u/praveendhinwa)\
**Post date:** [Août 16, 2018, 3:03 UTC](https://meta.discourse.org/t/issues-in-like-count-for-osqa-migration-to-discourse/94880/1 "2018-08-16T15:03:20Z")

</div>

Hi guys,

I am trying to migrate from OSQA to Discourse. I am doing bulk migration due to our platform having a relatively large number of users and posts. I have imported all users, posts and all the likes. I am facing two issues w.r.t. likes.

- I am shown the number of likes on any topic or post **only when** I click like on it. Otherwise, by default, the number of likes stay hidden. Is there some setting to disable this behavior and show all the likes from the beginning.
- The likes given count and the likes received count in the user profile are not updated. They are shown to be zero. They are only updated for new likes, but not for old likes. Do I have to manually add the like count to the users? I thought there should be some sort of job that will make sure to update the like\_counts for the user.

Please help me with this. I would be really thankful for it.

---

_[View the full topic](https://meta.discourse.org/t/issues-in-like-count-for-osqa-migration-to-discourse/94880)._
