User tests: Successful: Unsuccessful:
Pull Request for Issue/PR #6541 .
I added a plugin event (called onTagItemListQuery and used by the tags group) in the tags helper so that plugins can modify the tag item query to get additional attributes in the tag items view. I also added the table name to the name attribute in the group by clause to avoid conflicts.
If you have any ideas on what to improve, change or what I missed I would very much appreciate that especially since this is my first pull request on a big project like Joomla.
Category | ⇒ | Libraries |
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Status | Pending | ⇒ | Needs Review |
Setting to needs review
It is the wrong way, to allow manipulating a query on the fly with a plugin event. This will end in a lot of pain on the long run.
Closing this one, thanks all for working on this.
Status | Needs Review | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-09-07 08:28:40 |
Closed_By | ⇒ | rdeutz |
Imho, if we want to allow plugins to alter the database query, it should be done globally and not for each extension individually (eg for com_tags).