You are not logged in.
Pages: 1
Topic closed
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?
Thanks!
G.
Glpi: 10.0.1
Offline
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
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
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
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
Bug closed. WIll be included in 0.72.4
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Pages: 1
Topic closed