project management, project management software, collaboration software - Copper Project  
 
FORUMS
"People actually use it, that makes my life easier!" Multimediums
 
   
Register  ::  Log in  ::  Search 

Post new topic | Reply to topic
 
 Maintaining Order of Projects List View, in Support
 
iselendis
 
PostPosted: Mon Mar 03, 2008 5:57 am    Post subject: Maintaining Order of Projects List View Reply with quote
Joined: 04 Feb 2008
Posts: 6

Hi Ben

How do I ensure the order of projects appearing in the summary list view doesn't keep changing.

If I click into a specific project, and return back to the project list, the order keeps changing. I haven't worked out what field the default view is ordered by.

What I would like is for it to maintain an alpa ascending order of projects each time my client logs in so as to not confuse them when they return to the list if they click into a specific project and subsequently return to the list.
 
Ben
 
PostPosted: Mon Mar 03, 2008 6:04 am    Post subject: Reply with quote
Joined: 13 Mar 2003
Posts: 641

At the moment you need to modify the default ordering to have it default to alpha. We're working on having it remember a users sort position, just waiting on a budget to get it done Smile.
 
iselendis
 
PostPosted: Mon Mar 03, 2008 6:19 am    Post subject: Reply with quote
Joined: 04 Feb 2008
Posts: 6

Thanks for the prompt response...I take it that I am not able, at this stage, to control the default order?

Out of interest, what field is the projects list currently relying on to order them?
 
Ben
 
PostPosted: Mon Mar 03, 2008 6:25 am    Post subject: Reply with quote
Joined: 13 Mar 2003
Posts: 641

Client then projects.
 
rslinct
 
PostPosted: Mon Jul 07, 2008 10:50 pm    Post subject: Default order Reply with quote
Joined: 01 May 2008
Posts: 9

Custom hacks are at your own risk so be careful if you are not familiar with coding of mySQL or PHP or HTML.

Of course, I am not sure what Ben might think of offering custom hacks here. I am sure he will let me know if this is an acceptable post or not.

Look in system\modules\projects\index.php, search for the Ordering comment code and change the code to the column sort you want set as the default. in my example, I sort by defualt by the END date.

It is a custom hack that will get over-written if you ever do an update from Ben through normal updates.

I keep a separate list of custom hacks so I can redo them if I update and that feature has still not yet been implemented.


//ordering
switch (RequestQueryString('order')) {
case 'progress' : $order = 'progress'; $orderby = 'PercentComplete'; break;
case 'priority' : $order = 'priority'; $orderby = 'Priority'; break;
case 'status' : $order = 'status'; $orderby = 'Status'; break;
case 'budget' : $order = 'budget'; $orderby = 'TargetBudget'; break;
case 'owner' : $order = 'owner'; $orderby = 'Owner'; break;
case 'starts' : $order = 'starts'; $orderby = 'StartDate'; break;
case 'ends' : $order = 'ends'; $orderby = 'EndDate'; break;
case 'project' : $order = 'project'; $orderby = 'ProjectName'; break;
case 'client' : $order = 'client'; $orderby = 'ClientName'; break;
default : $order = 'ends'; $orderby = 'EndDate';
}
 
  Page 1 of 1





Tour | Sign-up | Demo & Free Trial | Buzz | FAQs | Forums | Blog | Contact
© Copyright Element Software 2001-2008 
Element Software - Creators of Copper Project Management Software