Active
Project:
Drupal core
Version:
main
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Apr 2013 at 05:31 UTC
Updated:
11 Sep 2025 at 05:23 UTC
Jump to comment: Most recent
Comments
Comment #1
lewisnymanI'd like to expand the scope of this issue to discuss whether we need the table sort indicator to be an inline image. It's clearly presentational.
Comment #2
thedavidmeister commentedalternative potentially being something like remove the img tag completely + add the up/down arrow icon back in with CSS on the table header by doing something in tablesort_header() and add back in an equivalent solution for the title/alt tags explaining the sort behaviour that are currently on the image for accessibility reasons, also in tablesort_header().
Comment #3
jenlamptontagging
Comment #4
joelpittet@LewisNyman and @thedavidmeister one counter reason to that would be CSS images don't like to to load in parallel, AFAIK so it would be a bit slower, and also someone would likely like to replace those images with maybe an icon webfont or svg?
Though if we were to go in the CSS direction I'd hope for maybe spriteing some of these?
Comment #5
joelpittetI'm +1 for getting this in CSS:)
Comment #6
star-szrComment #7
mgiffordWhat is this postponed on? At this stage it should be bumped up to 8.1.0 or addressed shouldn't it?
Comment #8
joelpittetGood question, maybe just that all consolidation was postponed...
Tagging with CSS as I hope for that solution:)
Comment #9
lewisnymanComment #10
mitokens commentedComment #11
sqndr commentedI will look into this issue this week.
Comment #12
sqndr commentedThe
theme()function has already been removed.Comment #13
star-szrI think we still want to remove it even though it's a Twig template now :)
Comment #14
joelpittetOh yes, thanks! Yeah this doesn't need to be a template and even if it was a twig template I'd be tempted to put it in the table.html.twig to avoid the performance hit.
CSS approach would be simpler though.
Comment #15
lokapujyainteresting question: use a template or remove it? wondering what the reason is for removing it.
Comment #16
star-szrBecause it's a tiny template, and CSS is a thing.
Comment #17
joelpittetBumping to D8.1
Comment #18
andypostStable theme has this template so probably this becomes 9.x
Comment #19
catchNo we can stop using the template in core in a minor release, just can't completely remove it.
Comment #34
smustgrave commentedThank you for creating this issue to improve Drupal.
We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #35
catchThis is still valid one way or another. The template shouldn't exist as it currently is.
Comment #38
sanket.tale commentedPipeline is failing on AjaxWaitTest::testUntrackedXhr. I already restored the tablesort-indicator.html.twig file as empty, but this test is still failing. It looks unrelated to my change. Please guide me on how to proceed with this pipeline failure.