Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix serializing indexed unified search array as object #22806

Merged
merged 1 commit into from
Sep 12, 2020

Commits on Sep 11, 2020

  1. 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: Christoph Wurst <christoph@winzerhof-wurst.at>
    ChristophWurst committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    0022b63 View commit details
    Browse the repository at this point in the history