Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
Correcting an issue where event media attributes are displayed out of…
Browse files Browse the repository at this point in the history
… order.
  • Loading branch information
Nathan Glasl committed Mar 15, 2016
1 parent 5e46b41 commit 4077d11
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/dataobjects/MediaAttribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class MediaAttribute extends DataObject {
'MediaPage' => 'MediaPage'
);

private static $default_sort = 'Title';

/**
* Flag a write occurrence to prevent infinite recursion.
*/
Expand Down Expand Up @@ -221,7 +219,7 @@ public function forTemplate() {
'/([A-Z][a-z]+)/',
'/([A-Z]{2,})/',
'/([_.0-9]+)/'
), ' $0', $this->Title)) . ": {$this->Content}";
), ' $0', $this->Title)) . ": {$this->Content}";
}

}

0 comments on commit 4077d11

Please sign in to comment.