Skip to content
New issue

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

Ajax output calculation fails in version 4.0 #4

Open
tzcccc opened this issue Mar 26, 2020 · 0 comments
Open

Ajax output calculation fails in version 4.0 #4

tzcccc opened this issue Mar 26, 2020 · 0 comments

Comments

@tzcccc
Copy link

tzcccc commented Mar 26, 2020

Classes/Ajax.php line 89 from version 4.0 running on TYPO3 8.7.30 php 7.1.33

$queryBuilder->resetQueryParts(); seems not to work as expected
Next query output delivers only one record. If replaced with new instance
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('tx_contentrating_rates');
all relevant records will be fetched.

In this case calculation fails as $this->rate_count = 1 and $this->rate_temp1 < 5
Output is always < 25 %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant