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 2022-05-16 11:05:58

Kaya84
Member
Registered: 2019-06-13
Posts: 217

Default answer as solution in ticket

With GLPI < 10 the first button for ticket was the solution.
Now with 10 the default action is "answer".
Our 99% ticket will be resolved on first answer so it is possibile to set "add a solution" as default button?

Offline

#2 2022-05-17 13:06:15

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,819
Website

Re: Default answer as solution in ticket

Under 9.5.X, the default order of the buttons was followup, task, document, approval, and then solution was last.
In GLPI 10, the default action is "Answer" (followup) because it is the first item in the list that your user had permission to add.

Are you sure the order of the actions in older GLPI versions wasn't changed by a plugin?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2022-05-19 10:35:52

Kaya84
Member
Registered: 2019-06-13
Posts: 217

Re: Default answer as solution in ticket

Right: now remember.
The order you said is correct.
So the question will be: how can I change that order and put "solution" as default button?

Offline

#4 2022-05-25 13:02:39

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,819
Website

Re: Default answer as solution in ticket

The only way is to modify the GLPI code.
In "src/CommonITILObject.php" in the "getTimelineItemtypes" function by moving the block that sets the "solution" array property to before the one that sets the "answer" array property.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB