beforeFind in behaviors overlap beforeFind's table



Hi everybody,
i’ve made a custom behavior which filter records based on “user id”.
This behavior implement “beforeFind” function, and it works very well.

BUT if i register this behavior to a Table which already have a “beforeFind” function, the “beforeFind” function of the table was never called :frowning2:

Does someone have an idea ?
Many thanks for your help
Best regards


Ok i answer myself :slight_smile: it’s my fault, i’ve used a bad relation name (className) that why my beforeFind event was never called :slight_smile: