Bug #5461
Bug when adding a user in group, VIP list is not reloaded
Status: | Resolved | Start date: | 12/01/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | - |
Description
Change plugin treatment : remove glpi_plugin_vip_tickets table, and add left join in hook.
It's a lighter way to display VIP in ticket list. Inserts in database are no longer used.
Join for ticket list :
LEFT JOIN `glpi_tickets_users` ON (glpi_tickets.`id` = `glpi_tickets_users`.`tickets_id`)
LEFT JOIN `glpi_groups_users` ON (`glpi_tickets_users`.`users_id` = glpi_groups_users.`users_id`)
LEFT JOIN `glpi_plugin_vip_groups` ON (`glpi_groups_users`.`groups_id` = `glpi_plugin_vip_groups`.`id`)
Associated revisions
Bug when adding a user in group, VIP list is not reloaded
fix #5461
Fix group massive action
see #5461
Fix join with requester
see #5461
History
#1 Updated by ludo over 5 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r17.