Field with node new comments seems to output an integer, but... is unsortable. Is it a bug or by design?

Comments

merlinofchaos’s picture

Status: Active » Closed (works as designed)

It is by design; that number is calculated by a separate query and thus can't be sorted as part of the query. So far as I know there simply is no way to do it, though someone really clever might be able to write the query that does it.

PlayfulWolf’s picture

Status: Closed (works as designed) » Active

is it possible to add some kind of php magic with Views PHP?

I have tried various tricks, but now I do not understand if it is Views PHP or "by design"

What kind of data coment_count outputs? Integer? String?

merlinofchaos’s picture

Status: Active » Closed (works as designed)

As I said, as far as I know, there is no way to do it. Sorry.