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(unified-search): load more than 5 items in folder filter #50129

Merged
merged 4 commits into from
Jan 29, 2025

Conversation

nfebe
Copy link
Contributor

@nfebe nfebe commented Jan 10, 2025

Load more than 5 items for in-folder search...

@nfebe nfebe changed the title Fix/load more than 5 items in folder filter fix(unified-search): load more than 5 items in folder filter Jan 10, 2025
@nfebe nfebe force-pushed the fix/load-more-than-5-items-in-folder-filter branch 5 times, most recently from 6834285 to fc45650 Compare January 27, 2025 19:08
@nfebe nfebe marked this pull request as ready for review January 27, 2025 19:08
@nfebe nfebe requested a review from skjnldsv as a code owner January 27, 2025 19:08
@nfebe nfebe added 3. to review Waiting for reviews feature: search labels Jan 27, 2025
@nfebe
Copy link
Contributor Author

nfebe commented Jan 27, 2025

/backport to stable31

@nfebe
Copy link
Contributor Author

nfebe commented Jan 27, 2025

/backport to stable30

@nfebe nfebe requested a review from provokateurin January 28, 2025 08:52
@nfebe nfebe force-pushed the fix/load-more-than-5-items-in-folder-filter branch from fc45650 to 0b8b621 Compare January 28, 2025 20:18
@nfebe nfebe requested a review from susnux January 28, 2025 20:19
Copy link
Contributor

@JuliaKirschenheuter JuliaKirschenheuter left a comment

Choose a reason for hiding this comment

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

tested and seems to be resolved ;)

nfebe added 3 commits January 29, 2025 12:50
Each provider may search from a particular app so we should use that for searching.

Before this commit, we used `provider.id` instead of `provider.appId` the problem with the previous
approach is that it forces the provider id to be a valid search provider (an app that supports search)
limiting the developers ability to use unique IDs to identify the different providers (especially plugin providers)
inside the places filter.

For example the Files search plugin "In folder" (search in folder plugin) was required to have id as `files` while the
files provider itself already has id as `files`.

Signed-off-by: nfebe <[email protected]>
@nfebe nfebe force-pushed the fix/load-more-than-5-items-in-folder-filter branch from 0b8b621 to a5307ac Compare January 29, 2025 11:50
@nfebe
Copy link
Contributor Author

nfebe commented Jan 29, 2025

/compile

Signed-off-by: nextcloud-command <[email protected]>
@nfebe nfebe merged commit 826e3ea into master Jan 29, 2025
119 checks passed
@nfebe nfebe deleted the fix/load-more-than-5-items-in-folder-filter branch January 29, 2025 13:33
@SebastianKrupinski
Copy link
Contributor

Broke search for other apps

#50550

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.

5 participants