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

Search drop location as well #5

Closed
Belgabor opened this issue Mar 9, 2018 · 0 comments
Closed

Search drop location as well #5

Belgabor opened this issue Mar 9, 2018 · 0 comments

Comments

@Belgabor
Copy link

Belgabor commented Mar 9, 2018

Would be kinda useful if you want to know what drops form a certain "something" :P

Pulling from my head, using a bit rusty js knowledge (not really want to go through the whole fork/PR mess):
In search:

   fill(window._data.filter(entry => entry.key.contains(searchValue)))

At the end of formatData:

   let searchData = [];

   for(let newData_ of newData) {
      newData_.key = `$(newData_.place): $(newData_.item)`;
      searchData.push(newData_);
   }
   return searchData;
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

No branches or pull requests

2 participants