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

Custom post type - search #247

Open
2 of 3 tasks
Messa1 opened this issue Dec 13, 2024 · 1 comment
Open
2 of 3 tasks

Custom post type - search #247

Messa1 opened this issue Dec 13, 2024 · 1 comment

Comments

@Messa1
Copy link

Messa1 commented Dec 13, 2024

Description

Description

I try to search in custom post type generated by ACF.

query GetSearch($serachString: String = "") {
  posts(where: {search: $serachString}) {
    edges {
      node {
        id
        link
        slug
        title
        uri
      }
    }
  }
}
{
  "serachString": "test"
}

Bildschirmfoto 2024-12-10 um 17 27 00

But if I search for

{
  "serachString": "Fahrradmechatronik"
}

Bildschirmfoto 2024-12-10 um 17 27 14
Bildschirmfoto 2024-12-10 um 17 28 20

Exclude From Search is disabled
Bildschirmfoto 2024-12-10 um 17 29 19

Steps to reproduce

See my description.

PHP or JSON export of the ACF Field Group(s)

No response

Additional context

No response

WPGraphQL Version

1.29.3

WPGraphQL For ACF Version

2.4.1

ACF (Advanced Custom Fields) Version. Free or Pro?

Pro

WordPress Version

6.7.1

PHP Version

8.2.x

Additional enviornment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.

  • Yes
  • My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.
@Messa1
Copy link
Author

Messa1 commented Jan 13, 2025

@jasonbahl Maybe you can help me here?

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

No branches or pull requests

1 participant