Steps to reproduce this issue are as below.
- Navigate to Administration -> Portlets. Create a new Grid portlet using the Project object as the data provider
- Display the following columns in the portlet layout:
- Project Name
- Project ID
- Manager
- Start
- Finish
- Set the sorting to ascending based on "Project Name"
- Navigate to Home -> General. Personalize the "Overview: General" tab -> Display the portlet created in step 1. Save and Return
- Configure the portlet (From the Home side). Change the sort column to "Manager". Save and Return
- Configure the portlet again -> Click on "General" tab -> Click on "Restore Defaults"
- Notice the column by which sorting is done
- Refresh the page. Notice the column by which sorting is done
- Logout and Login. Notice the column by which sorting is done.
Expected Results: In Steps 7, 8 and 9, the sort column is "Project Manager"
Actual Results: In Steps 7 and 8, the sort column is "Manager". In Step 9, the sort column is "Project Manager". Restore Defaults does not act upon the sort column till we logout and login. Or till the cache is flushed.