User tests: Successful: Unsuccessful:
When you save an article with spaces, before or after the title, the spaces are saved in the database.
Ordering the articles by Title give confusing results.
This PR removes the spaces before and after the Article Title when saving the Article.
If you add spaces before or after the Article Title, those are saved in the database
The "Some titels start with a space or more spaces" is listed first because it starts with spaces.
However the back-end list does not show those spaces:
After save the spaces are removed before and after the Article Title
Now the order is correct
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_content |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-05-20 20:01:59 |
Closed_By | ⇒ | pe7er | |
Labels |
Added:
PR-5.3-dev
|
Closing this PR. I'm gonna fix this issue in a better way...