Bug 424668 - Advanced Search finds all cameras of a similar model depending on search order
Summary: Advanced Search finds all cameras of a similar model depending on search order
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Advanced (other bugs)
Version First Reported In: 7.0.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-25 23:03 UTC by TM
Modified: 2020-07-26 07:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TM 2020-07-25 23:03:29 UTC
SUMMARY
Using advanced search to find Canon EOS 5D images only:- all Canon EOS 5D mark2 or mark4 images are also displayed. If however the advanced search is used to find Canon EOS 5D mark2 or Canon EOS mark 4 images the results are correct

STEPS TO REPRODUCE
1. Any album
2. Advanced Search
3. Photographic Information
4. Make of camera = Canon
5. Model of the camera = EOS 5D

OBSERVED RESULT
Digicam displays all Canon 5D plus 5D mk2 and 5D mk4 images not a filtered display

EXPECTED RESULT
Should only display Canon EOS 5D images in my example


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Just checked 6.4.0 same incorrect result
Comment 1 Maik Qualmann 2020-07-26 05:45:54 UTC
This is actually intended, it is not an "exact" search in the database, but a "like" search.

Maik
Comment 2 Maik Qualmann 2020-07-26 07:03:59 UTC
Git commit 0f8ebdbfcf3d1c9fff6d96fcb21afa191c20b2f5 by Maik Qualmann.
Committed on 26/07/2020 at 07:01.
Pushed by mqualmann into branch 'master'.

use the full camera model name for the search
FIXED-IN: 7.1.0

M  +2    -21   NEWS
M  +12   -7    core/utilities/searchwindow/searchfields.cpp

https://invent.kde.org/graphics/digikam/commit/0f8ebdbfcf3d1c9fff6d96fcb21afa191c20b2f5