Files module filter
Created 7 years ago by nmaxHello, can you tell me, how to add filter to files module? For example by user id?
PS. Email activation came to spam
Hello, can you tell me, how to add filter to files module? For example by user id?
PS. Email activation came to spam
Well - You could extend the
FilesTableModule
then bind yours to the original. But what user ID are you referring to because there's onlycreated_at
andupdated_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.