Don't lose namespace when searching via api
authorErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 2 Jun 2016 20:12:16 +0000 (13:12 -0700)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 2 Jun 2016 20:12:20 +0000 (13:12 -0700)
commit5e65ae8f645bc83e32c48e5d1bcfa6a88100796b
tree56a290934f6647fb357bb85f0e1dfedda80c634a
parent8d58a592f7e0561440f84b5f13c03bb2efc797c9
Don't lose namespace when searching via api

A recent patch, I66be724d, introduced a regression that no longer
applied user selected namespaces to the search engine. Fix that up so we
give the correct responses to api rqeuests.

Change-Id: I8e5e180cb143ae3cddeb12f51bc7aae75b20fe58
includes/api/SearchApi.php