@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 35 lines 622 B view raw
1<?php 2 3final class PhabricatorProjectColumnCreatedOrder 4 extends PhabricatorProjectColumnOrder { 5 6 const ORDERKEY = 'created'; 7 8 public function getDisplayName() { 9 return pht('Sort by Created Date'); 10 } 11 12 protected function newMenuIconIcon() { 13 return 'fa-clock-o'; 14 } 15 16 public function getHasHeaders() { 17 return false; 18 } 19 20 public function getCanReorder() { 21 return false; 22 } 23 24 public function getMenuOrder() { 25 return 5000; 26 } 27 28 protected function newSortVectorForObject($object) { 29 return array( 30 -1 * (int)$object->getDateCreated(), 31 -1 * (int)$object->getID(), 32 ); 33 } 34 35}