Skip to content
Snippets Groups Projects
Unverified Commit 0022b63f authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Fix serializing indexed unified search array as object


We expect an array of results from the search provider. If the search
provider returns an array with indexes, php will serialize it as object,
not as array (to preserve the keys). The client doesn't need this info,
so we should just discard it and take the values only to always render a
JSON array.

Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent 8ab2d5a8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment