Admin Error after deleting field
2 posts by 1 authors in: Forums > CMS Builder
Last Post: December 14, 2011 (RSS)
Hi there, I removed a field called "active" and am getting this error when trying to view the record list in the admin:
Can't sortBy 'active'. Not a valid field!
I have removed the field from:
- ListPage Fields
- Search Fields
- Order By
Before deleting the field, the list of records was sorted by the active column that now no longer exists. I assume that this set somewhere else in cms builder as the last sort option used?
I have looked in the data/schema/*.ini.php file but cant find anything
Suggestions?
Many Thanks
Can't sortBy 'active'. Not a valid field!
I have removed the field from:
- ListPage Fields
- Search Fields
- Order By
Before deleting the field, the list of records was sorted by the active column that now no longer exists. I assume that this set somewhere else in cms builder as the last sort option used?
I have looked in the data/schema/*.ini.php file but cant find anything
Suggestions?
Many Thanks
Re: [theclicklab] Admin Error after deleting field
Ah sorry - fixed it, found this:
$sortBy = @$_SESSION['lastRequest'][$tableName]['sortBy'];
So I just had to kill the session - once I logged out and logged back in all was good.
$sortBy = @$_SESSION['lastRequest'][$tableName]['sortBy'];
So I just had to kill the session - once I logged out and logged back in all was good.