Ticket #15480: 15480_using_index.diff
| File 15480_using_index.diff, 688 bytes (added by batmoo, 2 years ago) |
|---|
-
wp-admin/js/list-table.dev.js
206 206 207 207 var $link = $(this), 208 208 $th = $link.parent('th'), 209 thIndex = $th.index(), 209 210 orderby = $.query.load( $link.attr('href') ).get('orderby'), 210 211 order; 211 212 213 // th should include both headers in thead and tfoot 214 $th = $th.closest('table').find('thead th:eq(' + thIndex + '), tfoot th:eq(' + thIndex + ')'); 215 212 216 if ( orderby == $.query.get('orderby') ) { 213 217 // changing the direction 214 218 order = ( 'asc' == $.query.get('order') ) ? 'desc' : 'asc';
