We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If only one item and 1 tag exists, there is a division by zero error.
https://github.com/jadwigo/TaxonomyList/blob/master/Extension.php#L188
Maybe
$difference = $named['maxcount'] - $named['mincount']; if($difference) { $row['weightpercent'] = ($row['count'] - $named['mincount']) / ($named['maxcount'] - $named['mincount']); } else { $row['weightpercent'] = 0; }
The text was updated successfully, but these errors were encountered:
nice catch - never encountered a site with only one item and tag
I'll look into it.
Sorry, something went wrong.
f2fc6c2
No branches or pull requests
If only one item and 1 tag exists, there is a division by zero error.
https://github.com/jadwigo/TaxonomyList/blob/master/Extension.php#L188
Maybe
The text was updated successfully, but these errors were encountered: