When defining the $headers array for a sortable table, one can optionally specify a 'field' key to specify which database column should be used to sort that column of the table. But if the 'field' key is not specified, tablesort_get_order() currently puts up a notice. This patch removes the notice.

CommentFileSizeAuthor
tablesort06013jv.patch1.01 KBjvandyk

Comments

jvandyk’s picture

Status: Active » Needs review
dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks.

drumm’s picture

Committed to 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)