Bug #5461

Bug when adding a user in group, VIP list is not reloaded

Added by ludo almost 4 years ago. Updated almost 4 years ago.

Status:ResolvedStart date:12/01/2015
Priority:NormalDue 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

Revision 17
Added by ludo almost 4 years ago

Bug when adding a user in group, VIP list is not reloaded

fix #5461

Revision 18
Added by ludo almost 4 years ago

Fix group massive action

see #5461

Revision 19
Added by ludo almost 4 years ago

Fix join with requester

see #5461

History

#1 Updated by ludo almost 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r17.

Also available in: Atom PDF