Bug #25453
Perfiormance: Refactor gallery->getItemCount
| Status: | Closed | Start date: | 2011-03-30 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Daniel Lienert | % Done: | 100% |
|
| Category: | - | |||
| Target version: | YAG 1.1.x | |||
| Votes: | 0 |
Description
Use a single special query to get the count of all items instead of counting the items of all albums seperately.
With 10 galleries and 20 albums each:
With Itemcount: 0.80024600029
Without: 0.495444059372
History
Updated by Daniel Lienert about 2 years ago
- Status changed from New to Closed
- Assignee set to Daniel Lienert
- Target version set to YAG 1.1.x
- % Done changed from 0 to 100
Added a special method for that.