When filtering File Browser items by name, use entry's "name" field as
well as the "relpath" field since they can vary.
When viewing file lists in File Browser you can filter the results by entering text in the box near the top-right. This filter input box says that it is "Name Filter" and that you can "filter by name". However this does not filter by "Name" but by "Filename", which is the field called "relpath". In most cases this is the same as the "name" field but the "name" field is meant to hold the display name, especially for times when they vary. This patch makes it so that both fields are checked.
Bug report T95257: Blender File View search behaves unpredictably when searching for fonts shows this well as it illustrates entering text that should filter the items, but it is doing so by filename rather than the more informative "name", which is this case is the more informative font family name and style.