r46065 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46064‎ | r46065 | r46066 >
Date:05:55, 23 January 2009
Author:nad
Status:deferred
Tags:
Comment:
allow 1, yes, true, on for sortable arg
Modified paths:
  • /trunk/extensions/RecordAdmin/RecordAdmin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php
@@ -463,7 +463,7 @@
464464 elseif ($k == 'invert') $invert = $v;
465465 elseif ($k == 'orderby') $orderby = $v;
466466 elseif ($k == 'cols') $cols = preg_split('/\s*,\s*/', $v);
467 - elseif ($k == 'sortable') $sortabke = $v;
 467+ elseif ($k == 'sortable') $sortable = eregi('1|yes|true|on', $v);
468468 else $filter[$match[1]] = $match[2];
469469 }
470470 }

Status & tagging log