joomla-projects / j4adminui

Joomla!4 alternative backend template
GNU General Public License v2.0
24 stars 18 forks source link

Improve available update percent count calculation. #144

Open ahamed opened 4 years ago

ahamed commented 4 years ago

Pull Request for Issue #115.

Summary of Changes

Changes the available updates calculation. Remove the core extensions from the Total Installed Extensions count. Now the Joomla! core and core extensions take 50% of the system update count and other non-core extensions take the remaining 50% count.

Testing Instructions

Go to Dashboard and check the Available updates module. Install an outdated extension and check the percentage value.

kawshar commented 4 years ago

There is a bug.

Screenshot 2019-12-06 at 12 50 50 PM
davidnguyen-joomlashine commented 4 years ago

@ahamed07sajeeb get the same error like kawshar' test. Fix the error by adding "static" keyword to 2 functions you created: getExtensions and getTotalExtensions