# Tester badge says it was granted on the wrong date

**URL:** https://meta.discourse.org/t/tester-badge-says-it-was-granted-on-the-wrong-date/277232
**Category:** Site feedback
**Created:** [August 30, 2023, 5:54pm UTC](https://meta.discourse.org/t/tester-badge-says-it-was-granted-on-the-wrong-date/277232 "2023-08-30T17:54:30Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 30, 2023, 5:59pm UTC](https://meta.discourse.org/t/tester-badge-says-it-was-granted-on-the-wrong-date/277232/2 "2023-08-30T17:59:40Z")

</div>

Yeah, I think it has `MIN(p.created_at) granted_at` in the SQL so it awards it for the first eligible post rather than the last. I think flipping it to `MAX` would likely be okay now it’s up and running, but can behave weirdly if run against historical data.

I’m still trying to crack how to specifically grant it for exactly the right post whether you have 10 or 15, etc. The search continues… 🙂

---

_[View the full topic](https://meta.discourse.org/t/tester-badge-says-it-was-granted-on-the-wrong-date/277232)._
