Admin specific list output options used on Front-End

3 views
Skip to first unread message

Alexander Obuhovich

unread,
Jun 4, 2012, 4:51:34 PM6/4/12
to In-Portal Bugs
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.


There are several ways to fix it:
  1. have a setting UseDefaultSettings in each unit (enabled by default), to keep existing behavior
  2. don't use functionality described above on Front-End at all

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Dmitry A.

unread,
Jun 9, 2012, 12:13:15 PM6/9/12
to in-port...@googlegroups.com
Hi Alex,


I believe we should do 2nd option - "don't use functionality described above on Front-End at all".

I see no need of mixing Admin and Front-end grids at all.


DA

Alexander Obuhovich

unread,
Jun 9, 2012, 1:11:12 PM6/9/12
to in-port...@googlegroups.com
ok.


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/HiBwc-5dmWAJ.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Alexander Obuhovich

unread,
Jul 3, 2012, 4:26:25 AM7/3/12
to in-port...@googlegroups.com
Here is the task: http://tracker.in-portal.org/view.php?id=1337 and patch, ready for testing.
dont_use_admin_list_settings_on_frontend.patch
Reply all
Reply to author
Forward
0 new messages