Bug 246202

Summary: Personal Rating field sorting order does not work correctly
Product: [Applications] tellico Reporter: Asterios Dramis <asterios.dramis>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Asterios Dramis 2010-07-30 00:57:10 UTC
Version:           2.2 (using Devel) 
OS:                Linux

If in a collection (i.e. video collection) a "Personal Rating" range from 1 to 10 is used, the sorting order is not working correctly when clicking in the "Personal Rating" column to sort the entries in the main tellico window. If you click in the "Personal Rating" column in the main tellico window the order will be the following:

1
10
2
3
...
8
9

which is not correct as "10" should be last.

Reproducible: Always
Comment 1 Robby Stephenson 2010-07-30 05:27:00 UTC
SVN commit 1156904 by rstephenson:

Fix sorting by double digit rating
BUG:246202


 M  +4 -0      ChangeLog  
 M  +1 -3      src/utils/fieldcomparison.cpp  
 M  +0 -7      src/utils/stringcomparison.cpp  
 M  +0 -6      src/utils/stringcomparison.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1156904