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

Create functionality to fetch articles include all given tags #67

Open
b-m-f opened this issue Jun 3, 2019 · 1 comment
Open

Create functionality to fetch articles include all given tags #67

b-m-f opened this issue Jun 3, 2019 · 1 comment

Comments

@b-m-f
Copy link
Contributor

b-m-f commented Jun 3, 2019

At the moment, when supplying tags to get_artciles in wordpress_api.py these tags are either or.

Such that when using tags=[1,2,3], all articles with either tag 1,2 or 3 will be fetched.

We should add functionality to fetch only articles that have all given tags.

For example a with_tags=[1,2,3] such that only articles that have all tags will be returned.

@carkod
Copy link
Contributor

carkod commented May 9, 2022

This should be pretty easy to achieve wtih https://stackoverflow.com/a/44666295/2454059. But I wonder if we need this functionality at this point

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

3 participants