? ? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
15 Jan 2018

Pull Request for Issue # .

Summary of Changes

This is the redo of #19237 as I had some issue with solve merge conflict. It makes some clean up to ContentViewCategory classes:

  1. Use namespace classes instead of it's alias

  2. Move $dispatcher = JEventDispatcher::getInstance(); out of the loop, so we get a bit performance improvement

  3. Remove code to set view layout as it is set on parent class code already https://github.com/joomla/joomla-cms/blob/staging/libraries/src/MVC/View/CategoryView.php#L212-L223

  4. Remove some un-used variables (like $id, $pathway), reuse-existing variable (no need for $menu = $menu->getActive() when we have $active variable keep active menu item before)

Testing Instructions

Code review should be enough. For human testing, please create a menu item to display articles from a category (Category Blog layout menu option for example), check and make sure articles still being displayed like before

avatar joomdonation joomdonation - open - 15 Jan 2018
avatar joomdonation joomdonation - change - 15 Jan 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Jan 2018
Category Front End com_content
avatar Quy Quy - test_item - 15 Jan 2018 - Tested successfully
avatar Quy
Quy - comment - 15 Jan 2018

I have tested this item successfully on 05e1d70


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19383.

avatar Anu1601CS Anu1601CS - test_item - 15 Jan 2018 - Tested successfully
avatar Anu1601CS
Anu1601CS - comment - 15 Jan 2018

I have tested this item successfully on 05e1d70


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19383.

avatar Quy Quy - change - 15 Jan 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 15 Jan 2018

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19383.

avatar mbabker mbabker - close - 17 Mar 2018
avatar mbabker mbabker - merge - 17 Mar 2018
avatar mbabker mbabker - change - 17 Mar 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-03-17 15:55:04
Closed_By mbabker
Labels Added: ? ?

Add a Comment

Login with GitHub to post a comment