Skip to content

Commit 3e1f812

Browse files
authored
Merge pull request #248 from wanam/patch-1
Trigger sorting for initial sort column
2 parents 7166364 + 06f9c52 commit 3e1f812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_html/resources/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function init () {
111111

112112
show_filters();
113113

114-
toggle_sort_states(find('.initial-sort'));
114+
sort_column(find('.initial-sort'));
115115

116116
find_all('.sortable').forEach(function(elem) {
117117
elem.addEventListener("click",

0 commit comments

Comments
 (0)