Ticket #15480: 15480.diff
| File 15480.diff, 635 bytes (added by batmoo, 3 years ago) |
|---|
-
wp-admin/js/list-table.dev.js
188 188 $('th a').click(function() { 189 189 var orderby = $.query.GET('orderby'), 190 190 order = $.query.GET('order'), 191 $th = $(this).parent('th');191 text = $(this).text(); 192 192 193 var $th = $(this).closest('table').find('th').filter(function(i) { 194 return $(this).text() == text; 195 }); 196 197 193 198 if ( $th.hasClass('sortable') ) { 194 199 orderby = $.query.load($(this).attr('href')).get('orderby'); 195 200 order = 'asc';
