glpi icon indicating copy to clipboard operation
glpi copied to clipboard

FIX / Fix Allassets search option for group in charge

Open Mary-Clb opened this issue 2 months ago • 1 comments

  • [x] I have read the CONTRIBUTING document.
  • [x] I have performed a self-review of my code.
  • [x] I have added tests that prove my fix is effective or that my feature works.
  • [ ] This change requires a documentation update.

Description

It fixes !40775 Fixes SQL error "Unknown column 'glpi_computers.groups_id_tech'" when using the "Group in charge" filter in AllAssets search view after upgrading to GLPI 11.0. The groups_id_tech field was removed from individual asset tables and replaced with a centralized glpi_groups_items relationship table. While individual asset classes (Computer, Monitor, etc.) were updated to use the new structure, the AllAssets virtual itemtype still referenced the deprecated groups_id_tech field, causing SQL errors when filtering by technical groups.

Mary-Clb avatar Dec 09 '25 10:12 Mary-Clb

Could you please try to add a tests case?

trasher avatar Dec 09 '25 12:12 trasher