Closed (fixed)
Project:
Bootstrap
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Jan 2017 at 22:32 UTC
Updated:
30 Jan 2018 at 16:34 UTC
Jump to comment: Most recent, Most recent file




Comments
Comment #2
hass commentedI have added theme_tablesort_indicator() to the theme. But for unknown reasons the html code returned is only shown in default sort order after a drupal cache clear.
There seems to be another bug and I have not found the source yet why the sort indicator disapears after resorting. Very strange behaviour.
It works without the theme override.
Comment #3
devshi.addweb commentedPlease put below code in your custom css file.
PFA screenshots for your help.
Comment #4
hass commentedThis is one workaround.
But I think we should override the sort icon. Not sure what icon we should use or if we use the dropdown/dropup from the navbar. Not sure what the maintainer prefers. Additionally the root cause of the disapearing icon need to be found.
Comment #5
hass commentedThat is the better one, but it does work only once after a cache clear and is no longer shown if you re-sort.
Comment #6
hass commentedMissed to add a screenshot of the fixed version
Comment #7
hass commentedI don't know why, but I cannot repro the disapearing caret again. Last patch #5 works well.
Comment #8
hass commentedComment #9
hass commentedComment #10
hass commentedStrings should be ucfirst.
Comment #11
markhalliwellComment #12
hass commentedI have not found any useful glyphicon. Please suggest one that works for names, numbers, money, dates, etc.
Comment #13
markhalliwellBootstrap::glyphicon('chevron-up')and
Bootstrap::glyphicon('chevron-down')Comment #14
hass commentedThere are several issues with _bootstrap_icon():
$attributes.icon-afterto the header link (a.icon-after .glyphicon) easily. tablesort_header() is not a theme function.How should this solved?
Comment #15
markhalliwell$attributesparameter toBootstrap::glyphiconas a follow up... instead of just complaining about it..icon-after, but targeting table header cells and any icons inside them.Comment #16
markhalliwellComment #17
markhalliwell.
Comment #18
markhalliwell.