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

Support parentId in document/media item search endpoints #16933

Merged
merged 6 commits into from
Aug 27, 2024

Conversation

Migaroez
Copy link
Contributor

@Migaroez Migaroez commented Aug 20, 2024

Description

The document/media item search endpoints need to be enhanced with the ability to limit the search results based on the parentId for certain pickers to work better.

Testing

Setting up a multi layer content structure (root-parents-children) and querying the updated endpoint with one of the parent ids should only return (some) of that parent's children.
Leaving out the parentId should work just like the old endpoint.

@Migaroez Migaroez changed the title V14/feature/item search starting from Support parentId in document/media item search endpoints Aug 20, 2024
@bergmania
Copy link
Member

Does it make sense to update version number? I know it is logically correct, but does it bring any value, compared to just allowing one more optional parameter in the existing endpoint?

If - And only if - we stay with v1.1 then v1 should be obsoleted imo.
Let's discuss this with the team

Copy link
Member

@bergmania bergmania left a comment

Choose a reason for hiding this comment

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

Looks good and tests out good

@bergmania bergmania merged commit 2710803 into v14/dev Aug 27, 2024
15 of 16 checks passed
@bergmania bergmania deleted the v14/feature/item-search-starting-from branch August 27, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants