Forums

 
ForumForumMainstream Foru...Mainstream Foru...General Discuss...General Discuss...Reorder My Calls DashletReorder My Calls Dashlet
Previous Previous
 
Next Next
New Post
 5/31/2012 5:36 AM
 

Hi,

I'm looking to change the sort order in My Calls dashlet on Home. I want it to be by Date in ASC order rather than DESC which is the default.

However, I can't seem to find out where to do this change! I've looked in : 

>> Manage Layout >> Grid View Layout >> Calls >> MyCalls

But it doesn't seem to correspond at all.

Any help would be appreciated!

New Post
 5/31/2012 11:32 AM
 
There is no easy way to do that. You would need to to modify the code and recompile the project as the initial sorting is hard-coded.
New Post
 10/10/2012 12:34 AM
 

Is there a particular reason why it has been coded this way?  Our user experience is that people want to see the older calls first or, even if the user doesn't want to then management wants them to see the overdue stuff first.

That notwithstanding, I've modified mcalls.ascx.cs line 102 to grdMain.OrderByClause("DATE_START", "asc"); where the original was desc.  I've recompiled, reloaded, closed and reopened the browers but the sort order still hasn't changed.  I also checked for saved searches.

New Post
 10/10/2012 2:15 AM
 
I'm not sure why the dates are decending. I suspect it is because that there are different kinds of CRM users and some want to see it descending.

As for changing the default sort, I'm not sure why it is not working the way you expect. Have you tried to debug the issue? The first thing that I would do is enable the show_sql flag.
Previous Previous
 
Next Next
ForumForumMainstream Foru...Mainstream Foru...General Discuss...General Discuss...Reorder My Calls DashletReorder My Calls Dashlet