[TYPO3-english] Extension ratings: getRatingValue

Dmitry Dulepov dmitry at typo3.org
Mon Dec 29 14:04:49 CET 2008


Hi!

Manuel Rego Casasnovas wrote:
> I've been using the API provided by the extension ratings [1]
> 
> And I'm trying to use the function getRatingValue that should return a
> value in percent (from 0 to 100), but it returns greater values.
> Because the function doesn't take into account the "vote_count" value.
> 
> I've made a little patch to fix the problem [2].

Can you create a bug report at http://bugs.typo3.org/ for ratings? I afraid error report here will be lost but it will fixed sooner or later if it is in the official bug tracker.

-- 
Dmitry Dulepov
TYPO3 core team
In the blog: http://typo3bloke.net/post-details/how_will_i_fix_bugs_in_extensions_from_now_on/
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book


More information about the TYPO3-english mailing list