Fix incorrect parameter name for status queries

refs #9088
This commit is contained in:
Michael Friedrich 2015-09-28 15:19:01 +02:00
parent f091379177
commit a2058f0e55
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ bool StatusHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& request
params->Set("type", "Status"); params->Set("type", "Status");
if (request.RequestUrl->GetPath().size() >= 3) if (request.RequestUrl->GetPath().size() >= 3)
params->Set("name", request.RequestUrl->GetPath()[2]); params->Set("status", request.RequestUrl->GetPath()[2]);
std::vector<Value> objs = FilterUtility::GetFilterTargets(qd, params, user); std::vector<Value> objs = FilterUtility::GetFilterTargets(qd, params, user);