theiostream/SearchLoader — pull request #2 by Cykey (2014-03-08 01:18:54+00:00)
Title: Fix InfoBundle issue with CFBundleDisplayName.

Suppose you had a search bundle that had two InfoBundles:

- John
|----------- SPCategory: Appleseed
| ---------- SPDisplayIdentifier: com.bacon.bacon
- Mark
| ----------- SPCategory: Orangeseed
| ----------- SPDisplayIdentifier: com.bacon.bacon

With the original hook, SPDisplayNameForExtendedDomain would loop through all the InfoBundles and when the SPDisplayIdentifier matched it would return the TLDisplayName key regardless of the SPCategory key. This patch ensures that SPDisplayNameForExtendedDomain checks both the SPDisplayIdentifier and SPCategory.

Thanks.