-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Hi,
I tried searching for posts. I need to find those having a post with a certain title with the "draft" status.
SearchRequest<Post> sr =
SearchRequest.Builder.aSearchRequest(Post.class)
.withUri(Request.POSTS)
.withFilter("title",episode.getTitle())
.withFilter("status","draft")
.build();
PagedResponse<Post> postsAlreadyThere = client.search(sr);`
This returns all posts with "published" status.
I also tried with post_status and post_title for filter as well, but no change.
I tried installing a JSON filter plugin in my wordpress https://github.com/WP-API/rest-filter , but unfortunatelly nothing seems to work
Am I doing somethingwrong or is this a bug?
Metadata
Metadata
Assignees
Labels
No labels