cui/source/dialogs/AdditionsDialog.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 0d7a15c7dd622c3ba035ecca59de4bba57d1ea5e Author: Yusuf Keten <ketenyu...@gmail.com> AuthorDate: Thu Aug 27 09:09:46 2020 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Fri Aug 28 11:42:55 2020 +0200 Additions: Change default sort criteria to number of downloads Change-Id: Ifcecdbdf5b969305d92c571c4a3a529f2e6597d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101433 Tested-by: Muhammet Kara <muhammet.k...@collabora.com> Reviewed-by: Muhammet Kara <muhammet.k...@collabora.com> diff --git a/cui/source/dialogs/AdditionsDialog.cxx b/cui/source/dialogs/AdditionsDialog.cxx index 395198948dea..7d26416c910c 100644 --- a/cui/source/dialogs/AdditionsDialog.cxx +++ b/cui/source/dialogs/AdditionsDialog.cxx @@ -446,7 +446,8 @@ void SearchAndParseThread::execute() std::string sResponse = curlGet(m_pAdditionsDialog->m_sURL); parseResponse(sResponse, m_pAdditionsDialog->m_aAllExtensionsVector); std::sort(m_pAdditionsDialog->m_aAllExtensionsVector.begin(), - m_pAdditionsDialog->m_aAllExtensionsVector.end(), AdditionsDialog::sortByRating); + m_pAdditionsDialog->m_aAllExtensionsVector.end(), + AdditionsDialog::sortByDownload); Search(); } else // Searching _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits