Bug 318522

Summary: Number of files after music metadata filter entries in Files is 2x the actual number
Product: [Plasma] Active Reporter: Thomas Pfeiffer <thomas.pfeiffer>
Component: ApplicationsAssignee: active
Status: RESOLVED FIXED    
Severity: major CC: notmart
Priority: NOR    
Version: Integration   
Target Milestone: unscheduled   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Pfeiffer 2013-04-17 20:19:56 UTC
The number in brackets behind each entry for the music album and artist filter in FIles is exactly twice the actual number of files found when I tap one

Reproducible: Always

Steps to Reproduce:
1. Open FIles
2. Select Music
3. Expand Artists or Albums
4. Look at the numbers
5. Tap an entry
Actual Results:  
You see only half the amount of files suggested by the number

Expected Results:  
Numbers match
Comment 1 Marco Martin 2013-08-07 12:12:24 UTC
Git commit 00e3b6f1da98abfc9137f46a940dc2d3630fbfe9 by Marco Martin.
Committed on 07/08/2013 at 12:10.
Pushed by mart into branch 'Active/4'.

count resources, not urls

M  +1    -1    components/metadatamodel/library/queryproviders/cloudqueryprovider.cpp

http://commits.kde.org/plasma-mobile/00e3b6f1da98abfc9137f46a940dc2d3630fbfe9
Comment 2 Marco Martin 2013-08-07 14:15:56 UTC
with last commit should be fixed (updates available via zypper)
Comment 3 Thomas Pfeiffer 2013-08-07 17:52:50 UTC
Yup, it's fixed.
Comment 4 Marco Martin 2013-08-09 13:11:16 UTC
Git commit 6dea282e8887a5f83688a42c6186ed7ff088b2a7 by Marco Martin.
Committed on 07/08/2013 at 12:10.
Pushed by mart into branch 'master'.

count resources, not urls

M  +1    -1    components/metadatamodel/library/queryproviders/cloudqueryprovider.cpp

http://commits.kde.org/plasma-mobile/6dea282e8887a5f83688a42c6186ed7ff088b2a7