Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Feb 3, 2025

Backport of #50592

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

The main providers come from both the backend and client side plugins such as `in-folder` search.
The main providers may carry callbacks functions and other information that should be passed to the `filteredProviders`.
This is important because the current code does not make a distinction between `filteredProviders` and `providers`
rightly so, becuase they are the same thing!

Without the mentioned distinction above, sooner or later, we try to access a property on the `filteredProviders` which we
did not transfer with the manual property copy.

----

This fix prevents in-folder search from searching everywhere when "load more results" is clicked; Essentially ignoring the in-folder
search filter.

Signed-off-by: nfebe <[email protected]>
@backportbot backportbot bot requested review from artonge, nfebe and szaimen February 3, 2025 16:04
@backportbot backportbot bot added 3. to review Waiting for reviews feature: search labels Feb 3, 2025
@backportbot backportbot bot added this to the Nextcloud 30.0.6 milestone Feb 3, 2025
@nfebe
Copy link
Contributor

nfebe commented Feb 3, 2025

/compile amend

@nfebe nfebe marked this pull request as ready for review February 3, 2025 16:29
@nfebe nfebe enabled auto-merge February 3, 2025 16:29
Signed-off-by: nextcloud-command <[email protected]>
@nfebe nfebe merged commit 82470ce into stable30 Feb 3, 2025
113 checks passed
@nfebe nfebe deleted the backport/50592/stable30 branch February 3, 2025 16:47
@Altahrim Altahrim mentioned this pull request Feb 5, 2025
15 tasks
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.

4 participants