Best rated ordering does not favour number of votes for same-rated items (most voted should appear first)

More
5 years 10 months ago - 5 years 10 months ago #73396 by lipatovroman
Hello!

When I use Top rated order for list views or for module FC displays Items with 5 star ordered by alphabet.





But this behavior is not correct.

In this case List of Top 50 items will always be same.
And item with 5 star rating will be always first only because it name begins from number 1.

It should be ordered basing on count of voters.

So, we have 10 items with 5 star rating.

First should displays item with max votes.

Item1 5star 150votes
Item2 5star 100votes
Item3 5star 90votes
Item4 5star 50votes
Item5 5star 20votes
Item6 4star 190votes
Item7 4star 150votes
Item8 4star 50votes
Item9 4star 5votes
Last edit: 5 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #73403 by ggppdk
Hello

this is implemented inside the "Unrated" Tab of the voting field

but implemented for the case of 1-9 votes ...

I mean what you ask exists already for items with less that <10 votes


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 5 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #73404 by ggppdk
Hello

please see my previous answer
for more votes we could probably do a fixed weight factor

"best voted" ordering = #stars * (1 + #votes / 100)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 5 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #73406 by lipatovroman

ggppdk wrote: Hello

please see my previous answer
for more votes we could probably do a fixed weight factor

"best voted" ordering = "best voted" ordering = #stars * (1 + #votes / 100)


Hello!
Is it possible to implement?
Last edit: 5 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #73490 by lipatovroman
Last edit: 5 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #73491 by ggppdk
Hello

besides time and risk of introducing bugs
the problem with such "fixes" or "improvements"

is also to decide / find a proper solution
you can not fix / implement something even if it small change without , knowing what to do

i am thinking to do like this

Now we are doing a calculation of a "rating" result that is a floating number 0% to 100%
e.g. 87.75 %
- and then ordering it

but then we are displaying the rating in STEPS of 1%
(rounding to integer during display of voting field, and then using CSS to show it),

so in the above case , instead of ordering float values of 0% - 100%,
we would need to round the rating result to the closest integer 0%, 1%, 2%, etc

and then do
(rating_count is number of votes)

ORDER BY rating DESC, rating_count DESC

thus the items with same display of stars will be ordered according to their number of votes


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 5 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.921 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline