remulasce / metroapp

Realtime arrival notification utility for LA Metro
2 stars 0 forks source link

Duplicate MultiArrivalTrips #193

Closed nighelles closed 9 years ago

nighelles commented 9 years ago

The code that is creating MultiArrival Trips for a stop is creating duplicates.

nighelles commented 9 years ago

Yeah, it's creating like 4 copies of every search.

nighelles commented 9 years ago

Hmm, doesn't seem to be in the way I'm doing it. It's possible that the database has more items, or duplicates are being created somewhere.

nighelles commented 9 years ago

Fixed. For some reason, though the database returns four items, you only need one of them because it also later gives you everything.