pschfr / watchlist

My girlfriend and I made a list of movies we have and would like to watch!
https://paulmakesthe.net/watchlist/
MIT License
3 stars 1 forks source link

Fix incorrect ordering #8

Closed pschfr closed 6 years ago

pschfr commented 7 years ago

For some reason, '300' and '1408' come before anything else in the list. The loop should just go in order it is added, and it does, with those first for some reason. Is this a Jade/Pug bug, Node bug, or a bug in my code?

pschfr commented 6 years ago

Simple, adding a space to the movie title ("1408 " vs. "1408") treats it like a string instead, putting it in the right place... Why? Who knows.