middlewarehq / middleware

✨ Open-source dev productivity platform for engineering teams ✨
https://middlewarehq.com
Apache License 2.0
390 stars 32 forks source link

Sorting by lines doesn't work #397

Closed e-for-eshaan closed 1 week ago

e-for-eshaan commented 1 month ago

Description:

Clicking on the LINES header on the PR table doesn't sort correctly

Steps to reproduce:

  1. Go to /dora-metrics
  2. Click lead-time stats card
  3. in the PR table beneath, try sorting by number of lines

Expected behavior:

Actual behavior:

Server Setup Information:

Additional context

KartikChawla09 commented 1 week ago

The conf.field is labelled as additions but line changes actually is the sum of additions and deletions. I am working towards fixing this issue.