Page MenuHomePhabricator

patch.txt

Authored By
bzimport
Nov 21 2014, 9:36 PM
Size
413 B
Referenced Files
None
Subscribers
None

patch.txt

@@ -64,12 +64,12 @@
}
return $this->mFieldNames;
}
function isFieldSortable( $field ) {
- static $sortable = array( 'img_timestamp', 'img_name', 'img_size' );
- return in_array( $field, $sortable );
+ global $wgImagelistSortable;
+ return in_array( $field, $wgImagelistSortable );
}
function getQueryInfo() {
$fields = $this->getFieldNames();
unset( $fields['links'] );

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3281
Default Alt Text
patch.txt (413 B)

Event Timeline