Number of images in a collection displayed incorrectly
In ligthttable, total number of images in a collection is displayed incorrectly (the number is higher than reality) when sorted by color label/mark. This seems to happen only when the collection actually contains images with color marks. And it looks like images with more than 1 color mark are counted multiple times.
#1 Updated by Petr Synek about 4 years ago
- % Done changed from 0 to 70
- Status changed from New to Patch attached
- File 0001-Fixed-calculated-image-count-in-a-collection.patch 0001-Fixed-calculated-image-count-in-a-collection.patch added
After looking into the code, I found that SQL query for counting images in a collection is incorrect (missing 'distinct' keyword). Patch is attached.