Author Topic: MINOR Bug. (maybe)  (Read 3430 times)

Offline BeZazz

  • Prolific Indexer
  • ****
  • Posts: 256
  • Helpful: +9/-2
    • BeZazz
MINOR Bug. (maybe)
« on: 2013-11-30, 06:51:37 am »
I have had a release listed as Newest Release for a few days and finally I gave in and had a look.

In the DB the release was as follows
Quote
postdate: 2013-11-29 22:59:17
adddate: 2013-11-26 16:01:45
updatetime: 2013-11-30 06:40:37

I swapped postdate and adddate dates around and the issue went away.

So I was thinking maybe there was a bug in how the scripts workout the Newest Release. As swapping those values IMO should not really make a difference as there were plenty of newer releases.

It appears that if adddate is older then postdate the release will be shown as the Newest Release.
 

Offline jonnyboy

  • Epic Indexer
  • *****
  • Posts: 1046
  • Helpful: +93/-1
  • Lazzy Trucker
Re: MINOR Bug. (maybe)
« Reply #1 on: 2013-11-30, 07:31:49 am »
Monitor.php was getting newest timestamp by adddate and newest name by postdate. I have change both to use adddate. I have not pushed, but will when I return from vacation.

Offline BeZazz

  • Prolific Indexer
  • ****
  • Posts: 256
  • Helpful: +9/-2
    • BeZazz
Re: MINOR Bug. (maybe)
« Reply #2 on: 2013-11-30, 07:39:15 am »
OK.
Quick work and appreciated :)