ItsSpyce / dailies-tracker

72 stars 23 forks source link

Commision list not updating on date switch #26

Closed hllwrld7 closed 3 months ago

hllwrld7 commented 3 months ago

Describe the bug When I switch the date, the commission list is not updating.

To Reproduce Steps to reproduce the behavior:

  1. Add a new commission
  2. Change the date on the calendar
  3. The commission list is not updating

Expected behavior When I switch the date, the commission list should update, so, for example, if I added a commission on 19.05 and then changed date to 20.05 and it should have commissions that I have on this day (if any), and not the commissions for 19.05.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Idk I might've broken something because I was messing with my pc's datetime to reproduce the bug I previously reported, but the only thing I did was to change the date for the next day.

hllwrld7 commented 3 months ago

ok, I think I actually have broken smth because marking commissions as complete isn't updating the tasks number, but I distinctly remember that it worked before............ idk what I did wrong tho I'll see if I can fix it on my end

upd: still haven't found the issue, but I'll keep looking later (after i sleep lol) and will close this issue if it turns out it is my fault :D

ItsSpyce commented 3 months ago

This is as intended. The commissions are a static list where only the value of checked or not changes per day!

hllwrld7 commented 3 months ago

Ok, I should not be able to view my commissions for any other date that is not today, correct?

ItsSpyce commented 3 months ago

The commission list will stay the same, only the checkbook will change.

hllwrld7 commented 3 months ago

Oh, okay, I see, thanks! I'll close it then since I guess it's not an actual bug

ItsSpyce commented 3 months ago

If you'd like, I can add a filter on created_at so they don't show up!