Bug 246202 - Personal Rating field sorting order does not work correctly
Summary: Personal Rating field sorting order does not work correctly
Status: RESOLVED FIXED
Alias: None
Product: tellico
Classification: Applications
Component: general (show other bugs)
Version: 2.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 00:57 UTC by Asterios Dramis
Modified: 2010-07-30 05:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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