In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1337 [In-Portal CMS] Admin Interfaces bug report always 2012-07-03 03:20 2012-07-25 05:29
closed 5.1.0  
none 5.2.0
Don't use admin-specific settings for lists on Front-End
0001337: Don't use Admin-specific list settings on Front-End
One of the powerful features of Administrative Console in In-Portal are lists (grids).

Each list can have unlimited number of rows and columns. Each column can have a filter block above it, that allows to filter displayed rows based on data in that column.
Filters from different columns can be easily combined to get more specific results.

All list have following settings, that can be tuned once by "root" user and then automatically populated to all users, who tries to use them:
* item count to show per page
* columns to be used in default sorting
* visible columns, their order and widths

This was done for In-Portal installation, that have multiple (>10) administrator accounts with different permissions each. Then "root" user can setup layout for all other administrator users.

Recently (in In-Portal 5.1.3) I've found a side effect of that functionality: sorting set by "root" user in "Visitor Log" section (with In-Commerce installed) in Admin Console was populated to "Affiliate Statistics" page on Front-End resulting SQL error, because "OrderAffiliateCommissionSum" field used in sorting exists in Admin Console only.

I'm proposing not to use described functionality on Front-End at all.
patch dont_use_admin_list_settings_on_frontend.patch (1,463) 2012-07-03 03:25
Issue History
2012-07-25 05:29 alex Note Added: 0004850
2012-07-25 05:29 alex Status resolved => closed
2012-07-03 03:27 alex Note Added: 0004757
2012-07-03 03:27 alex Status reviewed and tested => resolved
2012-07-03 03:27 alex Fixed in Version => 5.2.0
2012-07-03 03:27 alex Resolution open => fixed
2012-07-03 03:27 alex Assigned To !COMMUNITY => alex
2012-07-03 03:27 alex Changeset attached 5.2.x r15425
2012-07-03 03:26 alex Note Added: 0004756
2012-07-03 03:26 alex Status needs testing => reviewed and tested
2012-07-03 03:26 alex Assigned To => !COMMUNITY
2012-07-03 03:26 alex Developer => alex
2012-07-03 03:26 alex Status active => needs testing
2012-07-03 03:26 alex Reference =>
2012-07-03 03:25 alex File Added: dont_use_admin_list_settings_on_frontend.patch
2012-07-03 03:20 alex New Issue
2012-07-03 03:20 alex Change Log Message => Don't use admin-specific settings for lists on Front-End
2012-07-03 03:20 alex Estimate Points => 1

2012-07-03 03:26   
Will test all together later.
2012-07-03 03:27   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001337: Don't use Admin-specific list settings on Front-End
2012-07-25 05:29   
Since 5.2.0 version was released.