Skip to content

Commit

Permalink
[plugin manager] Enable "Sort by Date Created" action
Browse files Browse the repository at this point in the history
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Oct 4, 2021
1 parent f6d7ed7 commit 5bc837c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/pluginmanager/qgspluginmanager.cpp
Expand Up @@ -223,8 +223,7 @@ void QgsPluginManager::setPythonUtils( QgsPythonUtils *pythonUtils )
vwPlugins->addAction( actionSortByDownloads );
vwPlugins->addAction( actionSortByVote );
vwPlugins->addAction( actionSortByStatus );
// TODO "create_date" and "update_date" are actually both representing "update_date" from the server side. Blocked by https://github.com/qgis/QGIS-Django/issues/69
// vwPlugins->addAction( actionSortByDateCreated );
vwPlugins->addAction( actionSortByDateCreated );
vwPlugins->addAction( actionSortByDateUpdated );
vwPlugins->setContextMenuPolicy( Qt::ActionsContextMenu );
connect( actionSortByName, &QAction::triggered, mModelProxy, &QgsPluginSortFilterProxyModel::sortPluginsByName );
Expand Down

0 comments on commit 5bc837c

Please sign in to comment.