DarkFenX/Pyfa — pull request #49 by blitzmann (2014-02-18 04:34:07+00:00)
Title: Hotfix for issue #48

This commit is a quick fix for issue #48. This problem was introduced with limiting search results to satisfy issue #30

Both ship searching and market item searching use the same `searchItems` function. The results are returned and, in the case of ship browser, are filtered with `self.getCategoryByItem(item).name == "Ship"` to produce final results. If the search term didn't make the initial limit filter then it won't show.

I've fixed this by simply doing it the same way market does, only restricting on Ship and not `sMarket.SEARCH_CATEGORIES`. This limits the results to only ships, and THEN applies a limit of 100 results. You won't ever have 100 results for ship search.