github
Fix nebula names in search results This appears to be a mistake that had existed even before cc1935b39. The search was matching partial names, e.g. "M3" search term matched M31. But it returned the search term itself as the result, which doesn't look like the intended output, since the search term is not what was found. But since the aforementioned commit the results returned include the actual object pointer, which now conflicts with the partial name, since "M3" is also an exact designation of a completely different object. This patch fixes the behavior by returning the actual name, rather than the search prefix, which now also lets the user finally get the partial-name search results like M31, M34, etc., which were not found even before the problematic commit. Fixes #4858.
0 of 29 new or added lines in 1 file covered. (0.0%)
14723 of 132869 relevant lines covered (11.08%)
13406.25 hits per line