Feature No Code Attached Yet UI/UX
avatar zero-24
zero-24
22 May 2024

Problem identified

When opening the extensions list right now the ordering is by NAME asc while most of the time you want to edit the last installed extension right so ID decending makes more sense?
Similiar applies to com_plugins where right now its orderd by type but you would like to open the latest installed most of the time right? And if not you need to search for the plugin name anyway right?

Proposed solution

Change the default ordering from NAME asc to ID decending (com_installer)
Change the default ordering from TYPE asc to ID decending (com_plugin)

Open questions

The change itself is trivial but I would like to hear what others think on the Idea and where this improvment should be send against? 5.2-dev or 6.0-dev?

avatar zero-24 zero-24 - open - 22 May 2024
avatar joomla-cms-bot joomla-cms-bot - change - 22 May 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 May 2024
avatar chmst
chmst - comment - 22 May 2024

I think that this is only one of many places where the default ordering of lists is not as users expect.
So would like to have a generic solution for the whole backend.

avatar chmst chmst - change - 22 May 2024
Labels Added: Feature UI/UX
avatar chmst chmst - labeled - 22 May 2024
avatar chmst chmst - labeled - 22 May 2024
avatar tkuschel
tkuschel - comment - 30 May 2024

We could think about it -- to implement not a default ordering, but to store the last set ordering (or to enable to store a default ordering) at the backend. Next visit, the ordering of a table is like the last one.
Not everyone want to search for the latest ID first, etc.

avatar HLeithner
HLeithner - comment - 30 May 2024

Ordering by title ASC is the expected behavior, sorting by ID DESC would nobody expect.

avatar brianteeman
brianteeman - comment - 30 May 2024

Ordering by title ASC is the expected behavior, sorting by ID DESC would nobody expect.

id desc is the default for articles

// Add the list ordering clause.
$orderCol = $this->state->get('list.ordering', 'a.id');
$orderDirn = $this->state->get('list.direction', 'DESC');
if ($orderCol === 'a.ordering' || $orderCol === 'category_title') {
$ordering = [
$db->quoteName('c.title') . ' ' . $db->escape($orderDirn),
$db->quoteName('a.ordering') . ' ' . $db->escape($orderDirn),
];
} else {
$ordering = $db->escape($orderCol) . ' ' . $db->escape($orderDirn);
}
$query->order($ordering);

This is already in place

avatar chmst
chmst - comment - 30 May 2024

My users want ID DESC for articles. Because it is much more probable that they need to fix an error in the newest article. TITLE DESC is useless in most cases where hundreds of items are in the list.

avatar brianteeman
brianteeman - comment - 30 May 2024

My users want ID DESC for articles. Because it is much more probable that they need to fix an error in the newest article. TITLE DESC is useless in most cases where hundreds of items are in the list.

which is why it is the default

avatar HLeithner
HLeithner - comment - 30 May 2024

ok might be my wrong assumptions. Having a full configurable system for personal preferences would be my favored solution. Our list view need much love on all ends and needs to be more comfortable for developer and users. Anyway I'm out form the order discussion. if you like to change the order then please create a pr.

avatar Fedik
Fedik - comment - 30 May 2024

I think ordering by name for plugins and extensions is good.

avatar carlitorweb
carlitorweb - comment - 30 May 2024

For plugins, by name is okay. Most of the time you will search for the plugin, instead of go trought the list.

For the extension list, by ID is okay. Most of the time when you go to there is for unisntall a extension, and the greatest probability is the last extensions that you have installed

Add a Comment

Login with GitHub to post a comment