When a View is sorted by an integer Computed Field each entry appears twice.

If the View is sorted by some other field, only one of each entry appears as it is supposed to.

Don't know if this is a Computed Field problem or a Views issue. Using Views views-7.x-3.x-dev

Comments

mchelen’s picture

Same problem occurs with Views 7.x-3.0-alpha1

mchelen’s picture

Status: Active » Closed (cannot reproduce)

Might have been caused by duplicate content, will reopen if able to confirm.

mustername’s picture

Status: Closed (cannot reproduce) » Active

I've encountered the same problem. I use the computed field to calculate a score, and when I try to sort by the computed field, I get duplicate entries, but when I sort with PHP (views_php) it does not return duplicate entries.

mustername’s picture

happens for some reason with float but not with decimal!

dougm’s picture

I'm having the same problem with float causing duplicates. Tried both 7.x-3.3 and the dev version. Other fields don't have issues, even a computed field that results in text rather than float. Only the float field.