Skip to content

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

Merged
nickvergessen merged 2 commits into
mainfrom
bugfix/noid/use-OCP-constants-for-filters
Nov 17, 2023
Merged

fix(search): Use OCP constants for filters#10919
nickvergessen merged 2 commits into
mainfrom
bugfix/noid/use-OCP-constants-for-filters

Conversation

@nickvergessen

Copy link
Copy Markdown
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

@Altahrim Altahrim left a comment

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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
@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

feature: api 🛠️ OCS API for conversations, chats and participants feature: search 🔎 technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants