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 issue media search does not search child items #17010

Closed
wants to merge 1 commit into from

Conversation

NguyenThuyLan
Copy link

@NguyenThuyLan NguyenThuyLan commented Sep 5, 2024

Prerequisites

  • I have added steps to test this contribution in the description below

If there's an existing issue for this PR then this fixes

Description

This PR is related to issue #16968
I fixed this issue by calling GetPagedDescendantsAsync function if search filter has data, otherwise if search filter has no data, it will be filtered as before.

How can test these changes:

  1. Go to the Media section, create a folder named "Product", create a new image named "tablet", inside the folder "Product", create a new image named "table"
  2. On the Media section, search for "tab" => results will show both images of "table" and "tablet"
  3. Go to the "Product" folder and search for "tab" => results will show an image of "table".

@NguyenThuyLan NguyenThuyLan requested review from elit0451 and Migaroez and removed request for elit0451 September 5, 2024 06:42
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

Successfully merging this pull request may close these issues.

1 participant