Skip to content

Commit

Permalink
videodb: fix sorted tvshows being re-ordered because of stacking
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Jun 23, 2012
1 parent f32fd99 commit 79e1627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/video/VideoDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5360,7 +5360,7 @@ bool CVideoDatabase::GetTvShowsByWhere(const CStdString& strBaseDir, const Filte
}
}

Stack(items, VIDEODB_CONTENT_TVSHOWS, !filter.order.empty());
Stack(items, VIDEODB_CONTENT_TVSHOWS, !filter.order.empty() || sortDescription.sortBy != SortByNone);

// cleanup
m_pDS->close();
Expand Down

0 comments on commit 79e1627

Please sign in to comment.