ignore articles when sorting lists in smartplaylist rule dialog (fixes #14815)
authormontellese <montellese@xbmc.org>
Tue, 28 Jan 2014 18:33:41 +0000 (19:33 +0100)
committermontellese <montellese@xbmc.org>
Tue, 28 Jan 2014 18:33:41 +0000 (19:33 +0100)
xbmc/dialogs/GUIDialogSmartPlaylistRule.cpp

index 70e12ec..27966fb 100644 (file)
@@ -325,7 +325,7 @@ void CGUIDialogSmartPlaylistRule::OnBrowse()
   }
 
   // sort the items
-  items.Sort(SortByLabel, SortOrderAscending);
+  items.Sort(SortByLabel, SortOrderAscending, SortAttributeIgnoreArticle);
 
   CGUIDialogSelect* pDialog = (CGUIDialogSelect*)g_windowManager.GetWindow(WINDOW_DIALOG_SELECT);
   pDialog->Reset();