<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>517624</bug_id>
          
          <creation_ts>2026-03-15 20:35:04 +0000</creation_ts>
          <short_desc>Filtering on rating (stars 0-5) not working correct</short_desc>
          <delta_ts>2026-03-15 20:36:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Albums-Filters</component>
          <version>9.0.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>verweis-buergerin-0o</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>metzpinguin</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>9.1.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2503545</commentid>
    <comment_count>0</comment_count>
    <who name="">verweis-buergerin-0o</who>
    <bug_when>2026-03-15 20:35:04 +0000</bug_when>
    <thetext>Hi,
I understand the filter function was reworked a bit in 9.0.0. But for me it seems that filtering in an album for images having a rating is not working correctly anymore.
I noticed this behaviour in 9.0.0 in a windows and linux environment.

I have an album with image mixed with no rating, 4 star and 5 star rating. For example I want to see only images that acutally have a rating, I open the filter sidebar and in properties I click on a star. The filter condition is set to &quot;greater or equal&quot;. The expected behaviour should be to display all images that have a rating so my 4-star and 5-star images. Thats how it works before 9.0.0.
But now acutally nothing is happening. I can change the filter to two, three, four, five stars - nothing happens.
I still see all images, even the ones without rating at all. When I change the condition now to &quot;equal&quot;, the filter is working and no image is displayed just as expected. 
When I now change back to &quot;greater or equal&quot;, suddenly I see only the images having a rating. So now the filter is working... 

I hope this was somehow understandable. For me I can reproduce the behaviour on different systems regardless if the images had a rating or if gave them a new rating. The filter is not working.

Thanks for looking into this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2503546</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2026-03-15 20:36:58 +0000</bug_when>
    <thetext>Fixed with Bug 517420

Maik</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>