Visit the articles page in the backend
Sort the table, for example - by Status ascending
Just look at the table caption in the developer tools or just remove class="visually-hidden"
from the code
Correct Sorted by
Incorrect Sorted by
Joomla 4.0.3-dev
Chrome on Window 10
PHP 8.0.6
MySQLi 10.4.19-MariaDB
Labels |
Added:
No Code Attached Yet
|
Hi @carlitorweb If we delete the condition as you suggested, I think it will break the sorting using table header.
@rjharishabh I checked and the sorting still working
@rjharishabh I checked and the sorting still working
Great, then I think you should create a PR
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-10-29 20:50:28 |
Closed_By | ⇒ | richard67 |
joomla-cms/libraries/src/HTML/Helpers/SearchTools.php
Lines 110 to 117 in a72b834
But if not, is just change the
sort.php
layout and add the correct directions there. I was doing a PR for this, but then the question arose which is the correct way, if delete or not the condition.