Project

General

Profile

Bug #10847

Number of images in a collection displayed incorrectly

Added by Petr Synek over 4 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Lighttable
Target version:
Start date:
01/02/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0.0
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

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.

History

#1 Updated by Petr Synek over 4 years ago

After looking into the code, I found that SQL query for counting images in a collection is incorrect (missing 'distinct' keyword). Patch is attached.

#2 Updated by Tobias Ellinghaus over 4 years ago

  • % Done changed from 70 to 100
  • Status changed from Patch attached to Fixed

Thanks, pushed.

#3 Updated by Roman Lebedev over 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top