Search by _profile_ids, order by profile_id
Jamroom Developers
Without a system connected to a debugger to test out my next step would probably be either:
Create a new smarty function instead of the jrCore_list call something like {ujStatement_get_stuff user_ids=$_user['user_linked_profile_ids']}
then use the jrCore_db_search_items to get all the wanted items and run them through a foreach loop to get the ordering in the desired order.
Then pass that info to list.tpl in ujManager.
--edit--
forgot the OR. Or assign the results of the jrCore_list to a variable then loop over that to get them in the right order before passing them off to the list.tpl file. The previous way I prefer because I like loops and this kind of stuff better in php than in smarty.
updated by @michael: 06/28/22 02:24:36AM