Fórum

The sort of Ratings in Asset publisher doesn't work correct

thumbnail
Charalampos Chrysikopoulos, modificado 11 Anos atrás.

The sort of Ratings in Asset publisher doesn't work correct

Junior Member Postagens: 79 Data de Entrada: 09/12/11 Postagens Recentes
The case is:

1. I placed the asset publisher in a page, and created 4 web contents with it.
2. I configured the asset publisher to show the ratings
I had 4 assets and I gave to
web content 1: 2 starts
web content 2: 0 starts
web content 3: 4 starts
web content 4: 5 starts

3. Next I configured the asset publisher to order by ratings descending (and then by title).
I got:
web content 2: 0 starts
web content 4: 5 starts
web content 3: 4 starts
web content 1: 2 starts

The problem is that the articles with no rating come first.
The problem seems to exist in oracle databases. I tried it also in MySQL and it worked fine, with the zero ratings at the end.

Is there a workaround to this problem?
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: The sort of Ratings in Asset publisher doesn't work correct

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
This definitely looks like a bug. File an issue in liferay's jira to get it resolved. :-)
thumbnail
Charalampos Chrysikopoulos, modificado 11 Anos atrás.

RE: The sort of Ratings in Asset publisher doesn't work correct

Junior Member Postagens: 79 Data de Entrada: 09/12/11 Postagens Recentes
The issue can be found here:
http://www.liferay.com/group/customer/support/-/support/ticket/SINGULAR-4