Skip to content

How can I search multiple fields from the same collection? #144

@rpalagiri-dm

Description

@rpalagiri-dm

Attempted to do it this way but it did not work

settings: function() {
        return {
            position: 'bottom',
            limit: 5,
            rules: [
                 {
                     collection: Models,
                     field: 'name',
                     matchAll: true,
                     template: Template.standardLegends,
                },
                {
                    collection: Models,
                    field: 'createdBy',
                    matchAll: true,
                    template: Template.standardLegendsOwner,
                },
            ],
        };
    },

However this doesn't work. Is there any way to accomplish this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions