Context (Environment)
Node 18.14.0
Folder source
Expected Behavior
If documents are moved to the trash, and no longer show up in a folder on the google drive interface, I would expect the document to no longer show up on the site as well.
Actual Behavior
Trashed documents continue to show up on the site until they are permanently deleted.


To Reproduce
Move a document to the trash.
Possible Solution
The getOptions() in search.js includes AND trashed = false, however this filter is not included in the corresponding getOptions() function in list.js.
These options should include the trashed = false filter as well.
Context (Environment)
Node 18.14.0
Folder source
Expected Behavior
If documents are moved to the trash, and no longer show up in a folder on the google drive interface, I would expect the document to no longer show up on the site as well.
Actual Behavior
Trashed documents continue to show up on the site until they are permanently deleted.
To Reproduce
Move a document to the trash.
Possible Solution
The
getOptions()in search.js includesAND trashed = false, however this filter is not included in the correspondinggetOptions()function in list.js.These options should include the
trashed = falsefilter as well.