Docs › Releases › 1.23 › Changelog
Recurnix 1.23 changelog
Every change in 1.23, by kind. For what it means and whether to update, read the release notes.
Fixed
- Four client pickers could not be searched by the customer's name. Tickets, quotes, services and credit notes each called a bare
->searchable()on a relationship. Filament then searches the relationship's title attribute and nothing else —idfor tickets and quotes,emailfor services and credit notes. The dropdown displayed customer names; the search box matched primary keys. Typing a customer's name into the ticket form returned no results at all.
Changed
- All seven forms that ask for a client now go through
App\Filament\Forms\ClientSelect— the component v1.20 introduced for the three worst offenders. It searches company name, first name, last name and email, and labels each optionName — email.
Added
Tests\Feature\ClientPickerSearchTest— asks Filament directly what each configuration resolves to, including the two broken shapes, kept so nobody reintroduces them.Tests\Unit\ClientSelectTestrewritten: sweeps every file inapp/Filamentand fails if anybody builds their own client picker, with a meta-guard so the sweep cannot pass over an empty list.- 12 more committed tests (226 total, 704 assertions).
Notes
- ⚠ v1.20 called these four "already readable" and left them alone. That was wrong, and it was wrong because readability was checked and searchability was not. They displayed the right thing, so they looked fine.
- Measured against the real book. The sandbox client is
QA Client/qa-client@example.com, with no company name. Searching for "QA": the old ticket and quote shape (id) found 0; the old service and credit-note shape (email) found 1, but only because that customer's address happens to contain their name; the new picker finds it onfirst_name. - The comment-stripping helper in the unit test is not decoration. Three of these forms carry a
⚠ Was Select::make('client_id')…note explaining the old shape, so a test asserting the old picker is gone passes on the comment unless the comments are removed first.