MedicOneSystems / MedicOneSystems/livewire-datatables
->hide() removes column from Export totally
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.2k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
Column::name('notes')
->truncate(100)
->label('Notes')
->sortable(true)
->hide() // HERE
->filterable(),
This will result in the notes column being completely ignored during export regardless of if the column has been turned on.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the export handling for the Column chain shown in the issue, especially the interaction between hide() and whether a column is enabled for export. Reproduce the notes-column case, then add or update a regression test if the repository has coverage for exports. Done means a hidden column can still appear in export when it has been turned on.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100