Fix regression in FOSS for search issue description highlight
This fixes https://gitlab.com/gitlab-org/gitlab/-/issues/254840 The `#use_elasticsearch?` method is not defined in FOSS so we cannot refer to it. As such the easiest way to handle this is to move the logic into a helper and override in EE.
Showing
Please register or sign in to comment