joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

Changing backend language affects columns display

Open tristan-bellosta opened this issue 2 years ago • 4 comments

Steps to reproduce the issue

Go to Users> Manage on backend. Uncheck one or more columns for display on top right dropdown (let's say "Last Visit" and "Registered" - see Capture1) Then, edit the current user you're logged with and change the backend language on "Basic settings" tab. Save and close.

Expected result

The columns you chose to display/hide shoud remain the same.

Actual result

You have a new configuration if the translation of "users" is not the same on the new language. In french it's "utilisateurs" and we have a different configuration set on Local Storage (see Capture2) Not sure if it is expected behaviour.

System information (as much as possible)

Joomla 4.2.8

tristan-bellosta avatar Mar 02 '23 10:03 tristan-bellosta

Captures wasn't uploaded on initial message screen shot 2023-03-02 at 10 45 35 screen shot 2023-03-02 at 10 45 36


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39980.

tristan-bellosta avatar Mar 02 '23 10:03 tristan-bellosta

Intersting finding :) I could not replicate it with German, probably be I missed a step.

chmst avatar Mar 02 '23 13:03 chmst

Confirmed for users (not articles)

The reason is this line in the js https://github.com/joomla/joomla-cms/blob/1995c41f6f2075f6916b337777888a68de9fefb9/build/media_source/system/js/table-columns.es6.js#L8

As the storing of table column settings is per user I wonder how often this will ever be an issue

brianteeman avatar Mar 03 '23 21:03 brianteeman

This can only be fixed by switching from using the title of the page for the storagekey to a key based on the view see https://github.com/joomla/joomla-cms/pull/45351

Not a bug

brianteeman avatar Jun 19 '25 08:06 brianteeman