Skip to content

Searching by customer on discounts gives no results #2284

@ryanmitchell

Description

@ryanmitchell

Expected Behaviour:

Searching by customer on discount limitations should return a list of customers with first name, last name or company name matching any of the passed words.

Actual Behaviour:

Searching does nothing at the moment.

Steps To Reproduce:

Changing:

->headerActions([
Tables\Actions\AttachAction::make()->form(fn (Tables\Actions\AttachAction $action): array => [
$action->getRecordSelect(),
])->recordTitle(function ($record) {
return $record->full_name;
})->preloadRecordSelect()
->label(
__('lunarpanel::discount.relationmanagers.customers.actions.attach.label')
),

to:
Image

allows searching but its not the right solution.

What do you thin the solution is here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions