[web2py] sqltable and aggregrate function

2014-05-02 Thread peteb3100
Hey guys, I want to display some aggregated stats (items per year) with a sqltable, but the aggregate count column never shows up in the sqltable. Basically only the groupby column is shown. This is my controller count = db.stats.id.count() stats = db(db.stats.id).select(db.stats.created_year, c

[web2py] Re: sqltable and aggregrate function

2014-05-03 Thread peteb3100
It just shows the created_year column, count column is missing completly.. (Not even a table header is shown for the count column) Am Samstag, 3. Mai 2014 14:45:29 UTC+2 schrieb Niphlod: > > what does {{=stats}} show ? > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentatio

[web2py] Re: sqltable and aggregrate function

2014-05-07 Thread peteb3100
No one? Any hints on how to further debug this issue? Am Samstag, 3. Mai 2014 19:08:06 UTC+2 schrieb pete...@gmail.com: > > It just shows the created_year column, count column is missing completly.. > (Not even a table header is shown for the count column) > > Am Samstag, 3. Mai 2014 14:45:29 UTC

[web2py] Re: sqltable and aggregrate function

2014-05-09 Thread peteb3100
Done: see http://code.google.com/p/web2py/issues/detail?id=1932 Hope this helps. If you need more information please let me know.. And, Massimo and all other contributors: thanks a lot for Web2py framework! It's really such a gem... Am Mittwoch, 7. Mai 2014 23:44:39 UTC+2 schrieb Massimo Di Pier