Skip to content

Bugfix in counting rendered async results - #1284

Open
teajaymars wants to merge 1 commit into
twitter:masterfrom
teajaymars:master
Open

teajaymars wants to merge 1 commit into
twitter:masterfrom
teajaymars:master

Conversation

@teajaymars

Copy link
Copy Markdown

Preconditions for the bug:

  • There are no sync results
  • You set a limit, eg. 5
  • The async interface returns that number of results -- ie. precisely 5

No results will be rendered. I've looked at the logic and it doesn't make sense. This pull request is what I think you're actually trying to achieve.

@danielspector

Copy link
Copy Markdown

👍

@vvo

vvo commented Jun 19, 2015

Copy link
Copy Markdown

Is typeahead alive? Do you need help merging this?

@teajaymars

Copy link
Copy Markdown
Author

I just implemented it on the front page of http://data.london.gov.uk/, so I really hope so.

@jlbooker

jlbooker commented Oct 5, 2015

Copy link
Copy Markdown
Contributor

Looks like a duplicate of #1212, has been fixed over at corejavascript/typeahead.js#8

@CLAassistant

CLAassistant commented Jul 29, 2019 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants