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

fix(search): Use OCP constants for filters #10919

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

nickvergessen
Copy link
Member

🛠️ API Checklist

🚧 Tasks

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

Copy link

@Altahrim Altahrim left a comment

Choose a reason for hiding this comment

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

For your usage, maybe methods like getTerm, getSince etc would be easier to use.
I imagine psalm errors are related to stubs

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/noid/use-OCP-constants-for-filters branch from 3a6ec72 to 1ceb3ee Compare November 17, 2023 09:32
@nickvergessen
Copy link
Member Author

I imagine psalm errors are related to stubs

Yes, couldn't update the package yesterday, fixed now

For your usage, maybe methods like getTerm, getSince etc would be easier to use.

I don't see such methods in OCP, so getFilter() it is for now

@Altahrim
Copy link

I don't see such methods in OCP, so getFilter() it is for now

Not yet, just an idea I had in mind :)

@nickvergessen nickvergessen merged commit 6fdfabb into main Nov 17, 2023
47 checks passed
@nickvergessen nickvergessen deleted the bugfix/noid/use-OCP-constants-for-filters branch November 17, 2023 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants