[Libreoffice-commits] core.git: cui/source

Yusuf Keten (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 28 09:43:37 UTC 2020


 cui/source/dialogs/AdditionsDialog.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 0d7a15c7dd622c3ba035ecca59de4bba57d1ea5e
Author:     Yusuf Keten <ketenyusuf at gmail.com>
AuthorDate: Thu Aug 27 09:09:46 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at 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.kara at collabora.com>
    Reviewed-by: Muhammet Kara <muhammet.kara at 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


More information about the Libreoffice-commits mailing list