?
avatar laoneo
laoneo
24 May 2018

What needs to be fixed

As #14189 revealed, the filters are hardcoded in the Form class.

Why this should be fixed

It is only possible to add new filters to the form by changing the Form class.

How would you fix it

Use the same logic as for rules where the logic resists in its own class. It is possible to dynamically add new filters.

Side Effects expected

No.

avatar laoneo laoneo - open - 24 May 2018
avatar joomla-cms-bot joomla-cms-bot - change - 24 May 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 May 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 24 May 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 24 May 2018
Category Code style
avatar mbabker
mbabker - comment - 24 May 2018

Custom callbacks are already supported in the filterField method and there is no need to change anything.

avatar laoneo
laoneo - comment - 24 May 2018

True.

avatar laoneo laoneo - close - 24 May 2018
avatar laoneo laoneo - change - 24 May 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-05-24 12:53:12
Closed_By laoneo

Add a Comment

Login with GitHub to post a comment