Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -957,7 +957,7 @@ |
958 | 958 | elseif( $k == 'groupby' ) $groupby = $v; |
959 | 959 | elseif( $k == 'format' ) $format = $v; |
960 | 960 | elseif( $k == 'cols' ) $cols = self::split( $v, ',' ); |
961 | | - elseif( $k == 'sortable' ) $sortable = preg_match( "/(1|yes|true|on)/i", $v ); |
| 961 | + elseif( $k == 'sortable' ) $sortable = !empty( $v ); |
962 | 962 | elseif( $k == 'template' ) $template = $v; |
963 | 963 | elseif( $k == 'count' ) $count = $v; |
964 | 964 | elseif( $k == 'export' ) $export = $v; |