I was browsing today some queries on data.stackexchange.com, and I noticed that on the list some did not present the favorite icon/count.

The icon is present in the detail. It happens only on queries that do not have a description (just the query code). See screenshot for example.
enter image description here Is this a bug, or intentional behavior? If so, what is the reason?

2 Answers 2


Maybe no one has those queries as favorite.

  • Nope. The vanity search in the screenshot has 1 favorite, for example.
    – Agos
    Jan 16, 2012 at 11:53
  • I can't tell for sure, but the data might be cached...
    – Jasper
    Jan 16, 2012 at 12:16

My only explanation for this at the moment is that the denormalized vote counts are out of sync with the actual votes table, since the list view uses one while the individual query view uses the other.

There may have been a glitch in the data model migration process that caused the numbers to get out of whack, but if worse comes to worst they should be able to be regenerated from the raw data in the votes table.

I'll look into it more later to see if I can find the root cause.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .