glpi-project / glpi

GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing.
https://glpi-project.org
GNU General Public License v3.0
4.24k stars 1.29k forks source link

Change: redirect ticket tab #3052

Closed yllen closed 6 years ago

yllen commented 7 years ago

When i add a ticket from ticket tab of a change, i redirect to solve tab of the change

trasher commented 6 years ago

I can't reproduce with current 9.2/bf. I do not think anything has been changed that would impact this; so I guess there is something that differs (config? entities tuff? status of change?)

yllen commented 6 years ago

You have this comportment if you have a solution in the change, even if the change was put to New status. You don't have this comportment in change tab of a ticket, even if solution exist in the ticket

orthagh commented 6 years ago

I reproduce, here is the steps needed:

After that, a &forcetab=Change$2 should be appended to url And indeed, it forces the tab solution after all page refresh

orthagh commented 6 years ago

It's the common behavior for all itil objects. Here is the line: https://github.com/glpi-project/glpi/blob/9.2/bugfixes/inc/search.class.php?utf8=%E2%9C%93#L4686