]> source.dussan.org Git - nextcloud-server.git/commit
Filter out old files when trying to get recent files 33982/head
authorCarl Schwan <carl@carlschwan.eu>
Thu, 1 Sep 2022 08:45:50 +0000 (10:45 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Thu, 8 Sep 2022 14:44:00 +0000 (14:44 +0000)
commit4d4a6727fc6280aa047d6cbae92f8fa9a91f6312
tree1ad8e2785e9dc8d68c8fbc777cd6e8a83d77bb1d
parent19ac8fd167de17fb20d3b718a9bba6943a973fa5
Filter out old files when trying to get recent files

Only do so when asking for less than 100 files and having an offset
equal to 0.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
lib/private/Files/Node/Folder.php
tests/lib/Files/Node/FolderTest.php