Have you seen our video tutorials? Check 'em out!

Files module filter

nmax - 1 month ago

Hello, can you tell me, how to add filter to files module? For example by user id?

PS. Email activation came to spam

ryanthompson - 1 month ago

Well - You could extend the FilesTableModule then bind yours to the original. But what user ID are you referring to because there's only created_at and updated_at on the table which are system values.

Keep in mind because you'll technically be moving the table's location - you will need to define the protected $model = FileModel::class; and any handlers that are in there.