Skip to content
Unverified Commit 6ed4c8a9 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Improve recent file fetching



Fixes #16876

Before we'd just fetch everything from all storages we'd have access to.
Then we'd sort. And filter in php. Now this of course is tricky if a
user shared just a file with you and then has a ton of activity.

Now we try to contruct the prefix path. So that the filtering can happen
right away in the databae.

Now this will make the DB more busy. But it should help overall as in
most cases less queries are needed then etc.

Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>
parent c9604408
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment