question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Publication needs to update counts

See original GitHub issue

The search results don’t properly update when a new item is added to the collection. To fix this we need to add:

this.changed(collectionName, 'searchCount' + definitionString, { count: cursor.mongoCursor.count() });

to both the addedAt and removedAt handlers in search-collection.js.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
veeredcommented, May 5, 2016

I do indeed, but I have changed other things in the fork and do not recall which changes are necessary for this fix 😦 . I can try to take a closer look when I have more time.

0reactions
matteodemcommented, Nov 13, 2016

This is fixed in the latest easy-search version

Read more comments on GitHub >

github_iconTop Results From Across the Web

“I've seen this somewhere before!” What counts as prior ...
Guidelines to help editors determine whether prior research should be considered formally published.
Read more >
Does an updated chapter in a book count as a new publication?
This means that a chapter that was included in both (same title, abstract and content, unfortunately I do not have access to one...
Read more >
10 Easy Ways to Increase Your Citation Count: a Checklist - AJE
To boost your citation count to maximize impact, consider these 10 simple techniques: Cite your past work when it is relevant to a...
Read more >
How often does Google Scholar update citation counts?
It turns out the update frequency is very regular: I found that et al.'s citations increase (by about ~1500) exactly every other day....
Read more >
Studies suggest 5 ways to increase citation counts - Nature
Papers with country names in the title, abstract or keywords systematically receive fewer citations, and are published in journals with lower ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found