Skip to content

Fix/global search locations - #25034

Open
Megachip wants to merge 4 commits into
glpi-project:11.0/bugfixesfrom
Megachip:fix/global-search-locations
Open

Fix/global search locations#25034
Megachip wants to merge 4 commits into
glpi-project:11.0/bugfixesfrom
Megachip:fix/global-search-locations

Conversation

@Megachip

Copy link
Copy Markdown
Contributor

Checklist

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.

Description

Locations were not available in the global search because Location::class was missing from $CFG_GLPI['globalsearch_types'] (src/autoload/CFG_GLPI.php). The global search page (front/search.php) only iterates over that list, and there is no GUI option to add core dropdown types. This adds Location so locations become searchable, consistent with similar types already present (Datacenter, DCRoom, Domain, …).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant