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

Increase the string size limitation for autocomplete feature in GCIS #542

Closed
amruelama opened this issue Jun 15, 2017 · 4 comments
Closed

Comments

@amruelama
Copy link
Member

Currently, there is a limitation for the number of characters we can type in the autocomplete box, in order to show if that item exists in our system. The problem with this limitation is, we could not copy/paste the entire name to retrieve the data using the autocomplete feature and so, we should copy/paste only half of the entire length of the string. In many cases, the first part of the string aren't unique. So increasing the limitation would be helpful to avoid data redundancy.

It would be great if we make this feature available for all the resources. Priority ones are organizations, articles, reports.

Example : Copy/paste the organization- "Woods Hole Oceanographic Institution Department of Marine Chemistry and Geochemistry" in the autocomplete box here. It retrieves no values, but removing the last word would work. In this case, if we have the specific word at the end of the title, it is not possible to find that organization using the autocomplete feature, so I would use the 'search' feature instead. But we need to improve the autocomplete feature eventually.

@amruelama
Copy link
Member Author

The longest organization title we have so far is "National Center for Zoonotic, Vector-Borne, and Enteric Disease Division of Foodborne, Waterborne, and Environmental Diseases Mycotic Diseases Branch" with length 149 and shortest title is "BP" with length 2.

@amruelama
Copy link
Member Author

@lomky Is it possible to prioritize this ticket for next release?

lomky added a commit that referenced this issue Jan 10, 2018
@lomky
Copy link
Collaborator

lomky commented Jan 10, 2018

This turned out to be quite simple. @amruelama can you check this on data-review?

@amruelama
Copy link
Member Author

It works! Thanks @lomky

@lomky lomky mentioned this issue Jan 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants