hodooor / Hodoor

Server side for Hodoor - Casual attendance system
GNU General Public License v3.0
8 stars 6 forks source link

Wrong Month in administrator page #116

Open DavidKozina opened 6 years ago

DavidKozina commented 6 years ago

There is a problem in Administrator page. After get there by menu, url looks like this: "http://localhost:8000/administrator/". An information about year and month is missing.

That means that JavaScript choose as this month December and never care what month we have. But that is not the main problem. If you choose year by dropdown menu to another year, the url will look like this: "http://localhost:8000/administrator/2016/00/". The month is 00 what is completely wrong.

I think that the best way is that url might contain year and month from beginning.