Improve 'my dootronics' list

×

Статус

You are not a member of this team. If you want to be part of this team, click on 'Subscribe to this team'.
Type: 
Website bug
Status: 
Open
Priority: 
Normal
Description: 

Currently the list of dootronics selected on a user's dashboard is picked from this query:

$queryUser = "(SELECT tUser.entity_id FROM
(SELECT entity_id FROM field_data_field_tagger WHERE (field_tagger_target_id=:uid)
UNION
SELECT entity_id FROM field_data_field_manager WHERE (field_manager_target_id=:uid)
UNION
SELECT entity_id FROM field_data_field_additional_editors WHERE (field_additional_editors_target_id=:uid)
UNION
SELECT entity_id FROM field_data_field_additional_followers WHERE (field_additional_followers_target_id=:uid)
)
AS tUser)";

It would be nice to also include the list of laptops associated with (1) the hubs and (2) the edoovillages that the user is managing.

Комментарии