-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/8/2011 4:13 PM, Raphaël Badin wrote: >> I'll miss the numbers for active reviews. Bugs pages load the >> numbers async, which I suppose is a lot of work to support for >> Code pages. > > A solution could be to keep the numbers when the total number of > owned branches is <10000 branches (that should be quick to compute) > and to display the simplified menu otherwise… I'm not sure we want > to go there though. > > R.
So how do you measure that, SELECT ... LIMIT 10001 and then if count() > 10000 you put 'lots' or something to that effect? My point is that I agree capping it at a 'reasonable' value seems worthy, but how do you detect that the cap is exceeded without actually doing the query? John =:-> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk65TPEACgkQJdeBCYSNAAN0gACgnmM7AaQVBt++4UWHvs9p40Sb T/MAoNiwest+guTdkaCaRBk7P1DVkQCI =r9R1 -----END PGP SIGNATURE----- _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp