Skip to content

fix(files_reminders): Join the reminders with the file system metadata - #53548

Merged
come-nc merged 1 commit into
masterfrom
fixFilesRemindersJoins
Jun 23, 2025
Merged

fix(files_reminders): Join the reminders with the file system metadata#53548
come-nc merged 1 commit into
masterfrom
fixFilesRemindersJoins

Conversation

@solracsf

@solracsfsolracsf commented Jun 17, 2025

Copy link
Copy Markdown
Member

Eliminates the need to load fileIds into PHP by using a database INNER JOIN with the oc_filecache table, filtering files by their parent (the folder's ID) directly in the SQL query. This avoids the IN clause entirely

Checklist

…a table
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

@provokateurinprovokateurin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, this looks much better and should fix #53527

@provokateurin

Copy link
Copy Markdown
Member

@solracsf any reason to keep it as a draft?

@solracsf

This comment was marked as resolved.

@provokateurin
provokateurin marked this pull request as ready for review June 23, 2025 07:48
@provokateurin
provokateurin requested a review from a team as a code ownerJune 23, 2025 07:48
@provokateurin
provokateurin requested review from Altahrim, ArtificialOwl and icewind1991 and removed request for a teamJune 23, 2025 07:48
@provokateurin

Copy link
Copy Markdown
Member

/backport to stable31

@provokateurin

This comment was marked as resolved.

@come-nc
come-nc merged commit f980d94 into masterJun 23, 2025
@come-nc
come-nc deleted the fixFilesRemindersJoins branch June 23, 2025 10:24
@backportbot

This comment was marked as outdated.

Comment threadapps/files_reminders/lib/Db/ReminderMapper.php
@provokateurin

Copy link
Copy Markdown
Member

The stable30 backport must also include #53644!

@solracsf

Copy link
Copy Markdown
MemberAuthor

The stable30 backport must also include #53644!

findAllInFolder() is v31+

@skjnldsvskjnldsv mentioned this pull request Aug 19, 2025
Sign up for freeto 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.

[Bug]: More than 1000 expressions in a list are not allowed on Oracle. (postgresql, in files_reminders / cacheFolder)

4 participants

@solracsf@provokateurin@kesselb@come-nc