Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix search #198

Closed
wants to merge 5 commits into from
Closed

Fix search #198

wants to merge 5 commits into from

Conversation

Findus23
Copy link
Member

Fixes #23

It got a bit more than just one change as the old typeahead version didn't support the "all" parameter and the new one works a bit different.

But altogether the search now works as it should and the json file is loaded only once on focus of the search box.

updater: function (item) {
// get text to display in quick search box
var displayText = item;
console.log(item);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably want to remove the console.log

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I removed it in a163bae and forgot to also do so here.

But keep in mind that this function doesn't exist any more with the full text search in #200 as I am using a maintained fork of twitter bootstrap there, because it's more user friendly (results can be selected with the arrow keys)

@Findus23
Copy link
Member Author

Findus23 commented Feb 5, 2020

Closing in favor of #330

@Findus23 Findus23 closed this Feb 5, 2020
@innocraft-automation innocraft-automation removed this from the Current sprint milestone Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Searching for user guides does not always work
3 participants