Count in Emplode 2.0

Posted by: phaigh

Count in Emplode 2.0 - 17/10/2001 13:07

It would be nice to have a count of the number of items under the current one in the 'soup' views, especially Genres and Years.

Just a thought.

Paul.

Paul Haigh, Reg. 4120
(mk1) 6GB, Blue, 00254
(mk2) 12GB, Red, 00357
Posted by: Roger

Re: Count in Emplode 2.0 - 19/10/2001 06:28

Unfortunately, that'll require actually running the query. This is generally deferred until you actually click on the item in question.


-- roger
Posted by: phaigh

Re: Count in Emplode 2.0 - 19/10/2001 14:35

Could do it as a second pass, i suppose, similar to how encspot does the block counting for mp3 files.

Anyway, this is a wish list ..... .

Paul.

Paul Haigh, Reg. 4120
(mk1) 6GB, Blue, 00254
(mk2) 12GB, Red, 00357
Posted by: peter

Re: Count in Emplode 2.0 - 22/10/2001 02:55

Unfortunately, that'll require actually running the query. This is generally deferred until you actually click on the item in question.

So how do you generate the list of genres? Couldn't that query also tell you the count of each? (er, SELECT genre, COUNT(fid) FROM * GROUP BY genre, or something)

Peter


Posted by: Roger

Re: Count in Emplode 2.0 - 22/10/2001 03:29

Yeah, yeah. Whatever.


-- roger
Posted by: Roger

Re: Count in Emplode 2.0 - 22/10/2001 03:32

Ah, except that it proves to be impossible to keep the counts up-to-date without running the query every 5 seconds, and I'm not doing that unless I can make the queries go faster.


-- roger
Posted by: phaigh

Re: Count in Emplode 2.0 - 22/10/2001 05:52

They don't need to be re-run, just have them refresh on screen entry/redraw.

Then to refresh the counts, just click on 'genre' (or whatever) again.

That'd would be groovy, cool and most of all, really, really useful.

Cheers,

Paul.

Paul Haigh, Reg. 4120
(mk1) 6GB, Blue, 00254
(mk2) 12GB, Red, 00357