Add possibility to sort by rating

Authored by faridb on Jun 23 2018, 10:01 PM.

Description

Add possibility to sort by rating

Summary:
Gwenview allows to rate images but there is no option to sort images by rating.

Add 'Rating' as a sorting option to Gwenview's SortedDirModel.
Add 'Rating' to Gwenview's 'Sort By' menu.
Add 'Rating' to Gwenview's 'Sorting' configuration entry.

Depends on: D13669

FEATURE: 340667

Test Plan:

  • Give specific ratings to some images in Gwenview.
  • Click ViewSort ByRating.
  • The images should be sorted according to their ratings.

Reviewers: Gwenview, rkflx

Reviewed By: Gwenview, rkflx

Subscribers: muhlenpfordt, rkflx, broulik

Differential Revision: https://phabricator.kde.org/D13344

Details

Committed
rkflxJun 23 2018, 10:03 PM
Reviewer
Gwenview
Differential Revision
D13344: Add possibility to sort by rating
Parents
R260:502a66c68e4e: Make mapping between sorting enum and model columns explicit
Branches
Unknown
Tags
Unknown