digideskio / zotonic

Automatically exported from code.google.com/p/zotonic
0 stars 0 forks source link

Improper months ordering in archive_year_month query. #134

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It seems there is improper month ordering in archive_year_month search query 
because of it is sorted as varchar (10, 11, 12, 1, 2, 3, ...). The problem is 
solved by replacing '::varchar' by '::int' with no pain.

Please, see a patch.

Original issue reported on code.google.com by igor.gor...@gmail.com on 18 Jan 2011 at 12:58

Attachments:

GoogleCodeExporter commented 8 years ago
Merged.

Thanks for the patch!

Original comment by ma...@pobox.com on 18 Jan 2011 at 9:35