You open the category dropdown in GLPI 11 and see something like: “»Error using automation — 337.TYPE:INC;Group:AUTOMATION — Support Cell;Urgency:Very High”. What should be just the category name has turned into an unreadable block of metadata.
The problem
GLPI 11 has a code field in ITIL categories, designed for internal identification: process numbers, routing codes, integration parameters. The problem is that the GLPI core concatenates this code to the category name in all interface dropdowns, using the separator - . The result is visual pollution that makes it difficult to select the correct category, especially when codes are long.
Editing GLPI's source code to remove this behavior is possible, but not viable: the change would be overwritten with every system update. Clearing the code field in categories solves it visually, but erases information that may be needed for other integrations.
How GLPI Bug Fixes solves it
The GLPI Bug Fixes module from NexTool intercepts the rendering of Select2 dropdowns before the text reaches the DOM. Instead of manipulating the already-generated HTML — which is fragile and ineffective — the module wraps the global functions window.templateResult and window.templateSelection of GLPI and cleans result.text at the source, removing the - CODE suffix before rendering.
The internal code is not deleted: it remains stored in the database and available for integrations. It simply stops appearing in the user interface.
Enabling the fix
- Install NexTool on your GLPI 11 (if not already installed)
- Go to Nextools > Modules and install GLPI Bug Fixes
- Click Configure and enable the module via the Settings tab
- Go to the Features tab and enable Hide category code in dropdowns
The fix takes effect immediately after saving, without any restart or cache clearing.
Who is this for
Any team that uses ITIL categories with the code field filled in on GLPI 11 — whether for internal numbering, ERP integration or automatic routing by rules. If your technicians or end users need to select a category when opening tickets, the visual pollution of the code directly impacts the daily experience.
Compatibility
- GLPI: 11.0+
- Plan: Free
- Plugin: NexTool 3.x+
Next step
GLPI Bug Fixes is part of NexTool, an ecosystem of modules to extend GLPI without code customizations. The module is free and already available in the catalog. Contact the team if you need help with installation.
This content was produced with the assistance of artificial intelligence and reviewed by the Nextool Solutions team. Screenshots are from the real GLPI environment with the NexTool plugin.