Bug 85859

Summary: filter on score is incorrect
Product: [Unmaintained] knode Reporter: solsTiCe <solstice.dhiver>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 0.7.7   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description solsTiCe 2004-07-24 12:59:12 UTC
Version:           0.7.7 (using KDE KDE 3.2.3)
Installed from:    Slackware Packages
OS:                Linux

when creating a filter that hide articles with a score <0 it displays no articles at all even if all the articles have the score of 0 [ it sould display the article with a score of 0]

But if the filter rejects articles with a score of <=-1 , it behave correctly.

<0 musts rejects all the article with a scrore less than 0 but not 0

<0 and <=-1 is the same , isn't it ????
it is simple math that knode is not aware of
Comment 1 Roberto Selbach 2004-07-24 14:27:39 UTC
Knode seems to know simple math fine :)

I've just created a rule just like you said and it works fine here.

If you still think there is something wrong, please take a look at ~/.kde/share/apps/knode/filters, find the .fltr file of your filter (you can do a 'grep "name=MyFilterBla" *.fltr') and attach it to this bug report reopening it, so I can take a look.