View Issue Details

IDProjectCategoryView StatusLast Update
0005355MMW v4Otherpublic2009-06-11 19:17
ReporterBex Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.1 
Target Version3.1Fixed in Version3.1 
Summary0005355: Active filter is not correctly applied in Duplicated Tracks Node
DescriptionThe active filter is not considered when the duplicates are selected into the temp table but it is applied when the result from it is shown. This leads to that single tracks are shown as duplicates sometimes.
(The Duplicate Content Node does this correctly.)

Current SQL:
INSERT INTO _SongDupTits
SELECT DISTINCT upperw(Artist) COLLATE IUNICODE Art, upperw(SongTitle) COLLATE IUNICODE Tit
FROM Songs
GROUP BY upperw(Artist), upperw(SongTitle) HAVING Count(*)>1

It should be:
INSERT INTO _SongDupTits
SELECT DISTINCT upperw(Artist) COLLATE IUNICODE Art, upperw(SongTitle) COLLATE IUNICODE Tit
FROM Songs WHERE "ACTIVE FILTER SQL"
GROUP BY upperw(Artist), upperw(SongTitle) HAVING Count(*)>1

But I suggest this SQL since I don't see the reason to have the parts I removed. It should be faster. :)
INSERT INTO _SongDupTits
SELECT Artist, SongTitle
FROM Songs WHERE "ACTIVE FILTER SQL"
GROUP BY Artist, SongTitle HAVING Count(*)>1
Additional InformationReported here:
http://www.mediamonkey.com/forum/viewtopic.php?f=4&t=37725&p=194223
TagsNo tags attached.
Fixed in build1254

Relationships

related to 0005368 closedLudek Files to Edit: Filter isn't applied for 'unlevelled' and 'unclassified' nodes 

Activities

Ludek

2009-03-05 08:52

developer   ~0017004

Fixed in build 1226.

rusty

2009-03-10 18:42

administrator   ~0017039

Verified 1226.

Bex

2009-06-11 07:43

updater   ~0018329

As reported here:
http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=40373

The issue isn't fully solved. The Filter-SQL also needs to be applied when the result from the temp-table is retrieved and not only when it's created.

Ludek

2009-06-11 15:37

developer   ~0018345

Fixed in build 1254.

rusty

2009-06-11 19:17

administrator   ~0018354

Verified no regressions in 1254.