Skip to content

Conversation

@icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Jan 8, 2024

Found while looking through the code.

Only filtering by path (when doing the non-shallow search) could otherwise return results from other storages/users.

The filter by parent doesn't strictly require the storage filter but I've added it anyway for consistency.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jan 8, 2024
@icewind1991 icewind1991 added this to the Nextcloud 29 milestone Jan 8, 2024
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, nfebe and sorbaugh and removed request for a team January 8, 2024 15:59
@icewind1991 icewind1991 force-pushed the shares-in-folder-storage branch 2 times, most recently from 1946df3 to d88170e Compare January 8, 2024 16:24
@nickvergessen
Copy link
Member

Do you know, does this improve/decrease performance of the queries due to index changes?

@icewind1991
Copy link
Member Author

I would expect filtering by path to be faster with the added filter, filtering by parent should be the same

@icewind1991 icewind1991 force-pushed the shares-in-folder-storage branch from d88170e to e8050a3 Compare February 5, 2024 09:23
@icewind1991 icewind1991 force-pushed the shares-in-folder-storage branch from e8050a3 to 9f05894 Compare March 4, 2024 15:41
@icewind1991 icewind1991 force-pushed the shares-in-folder-storage branch from 9f05894 to bfeb97c Compare March 6, 2024 14:33
@icewind1991 icewind1991 merged commit abfbe67 into master Mar 6, 2024
@icewind1991 icewind1991 deleted the shares-in-folder-storage branch March 6, 2024 18:08
@blizzz blizzz mentioned this pull request Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants