Skip to content

Add support to search issuables by ID

What does this MR do and why?

This MR adds support for searching issuables by their ID. Previously, full_search only matched against text fields such as title and description. Now, when :id is included in the search columns:

  • If the query is purely numeric, it searches by exact ID.
  • Otherwise, it performs a partial match against the stringified ID (id::text ILIKE).

This improves usability by allowing users to quickly find an issuable directly by ID or by a partial ID match.

References

#563883

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #563883

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading