well, it looks like the changes from 2.8.2 to 2.9.5 did include changes to 
the 'count'...

https://code.google.com/p/web2py/source/diff?spec=svn1cf7cc49ddcd5fd7169025477b8109fdfda0a5e5&r=1cf7cc49ddcd5fd7169025477b8109fdfda0a5e5&format=side&path=/gluon/dal.py

On Wednesday, April 9, 2014 9:28:08 AM UTC-7, Fcosqui wrote:
>
> Hi !
>
> Simple, i upgraded my Web2py version.
>
> I use this sentence
>
> count = db.regis.portid.count()
> rows = SQLTABLE(db(db.regis.protocol=='udp').select(db.regis.portid, 
> count, orderby=db.regis.portid, groupby=db.regis.portid), 
> headers={'regis.portid':'N° Port',str(db.regis.portid.count()):'Times'}, 
> _width="100%")
>
> Now, i can see just
>
> N° Port
> 3
> 4
> 32
> 2
> 11
>
> With 2.8.2-stable version i can see
>
> N° Port         Times
> 3                      20
> 4                      11
> 32                    10
> 2                       4
> 11                     1
>
>
> i don't know what it's wrong with the new version.
>
> Thnx!
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to