Skip to content

example_addressbook search isn't working #9022

Description

@ste101

If you search in the 'Static list' you will get no result.
Version 1.6.1

Changing the foreach in funktion search I was able to set $result but then I'm getting all contacts:

                foreach ($record as $key => $data) {
                    $data = is_array($data) ? implode(' ', $data) : (string) $data;
                    if (strpos(mb_strtolower($data), mb_strtolower($value)) !== false) {
                        $result->add($record);
                        $result->count += 1;
                        break;
                    }
                }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions