MedicOneSystems / MedicOneSystems/livewire-datatables

sorting by date

Open
#498 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.2k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

Hi there - I've never done this before so please bear with me! I'm LOVING this code for my datatable - the one issue i'm finding is that the date types have no sort-by option. If I convert the column to text then it shows a sort and it works, but I can't sort by date type column. I hope this is helpful and THANK YOU! (I program from time to time on the side and this is really very helpful!)

Grainne

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing the report with a date-typed column and trace the existing sort-by behavior for text columns; done means date columns expose sorting and sort their values correctly, with coverage for the reported case.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.