joomla/joomla-cms — pull request #3949 by okonomiyaki3000 (2014-07-24 03:59:25+00:00)
Title: Only try to find a search page if the request Itemid is not a search page.

Also, find search pages by component id, not link string

Fixes this tracker item: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33805