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

Rename vocabularies endpoint param 'query' to 'title'. #718

Merged

Conversation

tisto
Copy link
Sponsor Member

@tisto tisto commented Apr 22, 2019

No description provided.

@tisto tisto requested a review from sneridagh April 22, 2019 16:25
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.103% when pulling e22e4fd on filtered-batched-vocabs-query-to-title into 8bb2e56 on filtered-batched-vocabs.

Copy link
Member

@sneridagh sneridagh left a comment

Choose a reason for hiding this comment

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

We need to update the commit message, the docs and the upgrade guide.

token = self.request.form.get('token', '')

terms = []
for term in vocabulary:
if token:
# Ignore any query param
# Ignore any title param
if token.lower() not in term.token.lower():
Copy link
Member

Choose a reason for hiding this comment

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

I would make this exact, to avoid false positives.

@tisto tisto merged commit 7f21868 into filtered-batched-vocabs Apr 22, 2019
@tisto tisto deleted the filtered-batched-vocabs-query-to-title branch April 22, 2019 17:00
@tisto
Copy link
Sponsor Member Author

tisto commented Apr 22, 2019

@sneridagh working on it...

@tisto
Copy link
Sponsor Member Author

tisto commented Apr 22, 2019

@sneridagh FYI: I am merging everything into the filtered-batch-vocab branch and fix things there.

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.

None yet

3 participants