Sticky posts are ignored #2971
Labels
Duplicate
This issue or pull request already exists
Status: Discussion
Requires a discussion to proceed
Type: Enhancement
New feature or request
Description
When I mark a post as sticky, it is not output first in the query.
I read in another issue that by default
$query_args['ignore_sticky_posts']
is set totrue
.https://github.com/wp-graphql/wp-graphql/blob/develop/src/Data/Connection/PostObjectConnectionResolver.php#L178
I have disabled this:
Unfortunately this did not change anything.
Steps to reproduce
Additional context
No response
WPGraphQL Version
0.12.2
WordPress Version
6.3.2
PHP Version
8.1
Additional environment details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for WPGraphQL.
The text was updated successfully, but these errors were encountered: