Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Fix sorted by: table caption #34487

Merged
merged 2 commits into from Jun 11, 2021
Merged

[4.0] Fix sorted by: table caption #34487

merged 2 commits into from Jun 11, 2021

Conversation

rjharishabh
Copy link
Contributor

@rjharishabh rjharishabh commented Jun 11, 2021

Pull Request for Issue #34476.

Summary of Changes

correct ternary operator in $data->direction

Testing Instructions

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

Actual result BEFORE applying this Pull Request

sorted

Expected result AFTER applying this Pull Request

sorted-correct

Documentation Changes Required

No

@ghost
Copy link

ghost commented Jun 11, 2021

I have tested this item ✅ successfully on f6f6428


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

@chmst
Copy link
Contributor

chmst commented Jun 11, 2021

grafik

This changes the direction of the arrow which is a toggle. With this PR, re-ordering is no longer possible.

@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on f6f6428

breaks column header sort


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

@brianteeman
Copy link
Contributor

I have not tested this item.

breaks column header sort


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

@brianteeman
Copy link
Contributor

I have tested this item 🔴 unsuccessfully on f6f6428

breaks column header sort


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

@rjharishabh
Copy link
Contributor Author

@brianteeman @chmst @sandramay0905 Please test once more

@chmst
Copy link
Contributor

chmst commented Jun 11, 2021

I have tested this item ✅ successfully on 7648da9

Ordering works and is synchron with visually hidden text.


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

@Quy
Copy link
Contributor

Quy commented Jun 11, 2021

I have tested this item ✅ successfully on 7648da9


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

@Quy
Copy link
Contributor

Quy commented Jun 11, 2021

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jun 11, 2021
@Quy Quy added this to the Joomla 4.0 milestone Jun 11, 2021
@chmst chmst merged commit 050add0 into joomla:4.0-dev Jun 11, 2021
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jun 11, 2021
@chmst
Copy link
Contributor

chmst commented Jun 11, 2021

Thanks!

@rjharishabh rjharishabh deleted the searchtools branch June 11, 2021 17:57
@rjharishabh
Copy link
Contributor Author

Thanks everyone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants