You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2015-04-14 21:59:59

yannick.martin
Member
Registered: 2015-04-14
Posts: 1

The Group View does not work for multiple groups

Hi,

I have noticed that on the Central page under the "Group View", all tickets are not listed.
I am member of multiple groups in GLPI, but in "Your observed tickets" I can see the tickets from one of my groups only.

I've managed to fix this with the correction below, but I believe there is probably a nicer way to do it.

Modification done in the ticket.class.php line 4659 :

           $groups_bis        = "'".implode("','",$_SESSION['glpigroups'])."'";
               $search_observer = " (`glpi_groups_tickets`.`groups_id` IN (".$groups_bis.")
                                     AND `glpi_groups_tickets`.`type`
                                           = '".CommonITILActor::OBSERVER."') ";


I'm using GLPI 0.85 upgraded from 0.84 (similar issue observed on the old version)
OS version Ubuntu 14.04.1 LTS

Regards,

Offline

#2 2015-04-17 12:55:03

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: The Group View does not work for multiple groups

This correction was done in older versions of 0.85


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB