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 2010-02-11 19:47:22

gvargasdc
Member
Registered: 2009-10-21
Posts: 34

Interface helpdesk - ticket details - navigation problem

Hi,

On the helpdesk interface, when viewing the details of a ticket, the navigation on top of the tabs do not seem to work:

List |<- <- x/y -> ->|

Any one of them send you back to the "helpdesk" page instead of navigating to other tickets. It looks like the links for these icons do not include the show=user in the query part.

Running GLPI 0.72.3

Is this a bug? sad

Thanks!

G.


Glpi: 10.0.1

Offline

#2 2010-02-12 15:02:58

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Interface helpdesk - ticket details - navigation problem

Sorry but i can't reproduce. It works fine for me.

Did you try with the on line demo ?


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#3 2010-02-12 23:56:51

gvargasdc
Member
Registered: 2009-10-21
Posts: 34

Re: Interface helpdesk - ticket details - navigation problem

Thanks for the reply!

Just tested it on the Demo Server. I see the issue there too. Perhaps I am expecting something I shouldn't?

To clarify here is a video showing the problem

I was expecting to move to other tickets, rather than going to the new ticket form...

Any help is appreciated.

G.


Glpi: 10.0.1

Offline

#4 2010-02-14 06:33:14

gvargasdc
Member
Registered: 2009-10-21
Posts: 34

Re: Interface helpdesk - ticket details - navigation problem

Ok, I truly believe this bug exist. I know it is small, and it doesn't affect technicians --just post-only users-- but I thought others in the forum might have noticed. Which is why I'm surprised nobody else said they see the problem. Could it be that it is only me?

Anyway, I think I solved it. Below is what I did.

To get the |<-, <-, ->, and ->| buttons to work I modified front/helpdesk.public.php:

This line (116 in 0.72.3):

$track->showTabs($_GET["ID"],'',$_SESSION['glpi_tab']);

With the following two lines:

$extra_param = array("show" => "user");
$track->showTabs($_GET["ID"],'',$_SESSION['glpi_tab'],$extra_param,'','');

To get the "list" link working, I modified inc/common.function.php:

These lines under the initNavigateListItems function (2079-2083 in 0.72.3) :

if (strpos($_SERVER['PHP_SELF'],"tabs")>0) {
      $url=$_SERVER['HTTP_REFERER'];
} else {
      $url=$_SERVER['PHP_SELF'];
}

With the following:

if (strpos($_SERVER['PHP_SELF'],"tabs")>0) {
     $url=$_SERVER['HTTP_REFERER'];
} elseif (strpos($_SERVER['PHP_SELF'],"helpdesk.public")>0 && $_GET['show']=="user") {
     $url=$_SERVER['PHP_SELF']."?show=user";
} else {
     $url=$_SERVER['PHP_SELF'];
}

Glpi: 10.0.1

Offline

#5 2010-02-14 13:38:38

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Interface helpdesk - ticket details - navigation problem

I m sorry i didn't try with the post-only profil.

You are right.  I  move this thread in the bug area.


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#6 2010-02-15 01:05:40

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Interface helpdesk - ticket details - navigation problem

Bug closed. WIll be included in 0.72.4


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB