stable

Clone or download

Read-only

Make sure the search REST endpoint always returns an array once serialized

If you return an array that is not a list (e.g. something without a `0` key) it will be serialized by json_encode() into an object instead of an array. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: I903aad03dbd4db0d6ff8ee4eeb62e34198bd014d

Modified Files

Name
M plugins/fts_db/include/REST/v1/SearchResource.php +3 −2 Go to diff View file