Sorting by year broken (FIXED in 1.0.2.r2094)

In my previous version of Zotero when creating a bib or generating a report if I ordered the window by year the ouput would be formated by year. This isn't the case now so

"zotero://report/collection/2109/html/report.html?sort=year"

Results in a list starting at 2004 when the first year is 1999 and the last is 2008?

Anyone else noticed strange behaviour with this upgrade?
  • The sorting issues are NOT present in version 1.0.1.
  • Actually I'm pretty sure it didn't work in 1.0.1 either. I've now fixed this on the dev branch, but in the meantime try "sort=date" (or "sort=date/d" for descending) instead.
  • The creating a bib function appears to be broken in 1.0.2, your correct about the sort=date that does work but that doesn't address how to get the bib function to correctly sort.

    At the moment I have a list of publications which I can't get to generate a bib and maintain order by year. I get the 2nd entry by year first the 1st entry by year turning up at the penultimate position and what appears to be a normal index in between. This is using the Nature Journal CSL. I can attach a link to the produced html file if it will help?
  • Ok to try and make this clearer:

    In the GUI I see when ordered by year:

    1 A
    2 B
    3 C
    4 D
    5 E

    When I generate bib using Nature CSL the resulting html file order is:

    1 C
    2 B
    3 D
    4 A
    5 E

    It doesn't make any sense other than there is a bug in the sorting code somewhere?

    This is true for 1.0.2 and the released mentioned above. I'm now going to try the latest test candidate. To note I've also reset translators and styles and it is still showing the same behaviour.
  • edited January 10, 2008
    Another date related thing I have noticed is that if you enter the date 2007 Aug the gui says y
    whilst 2007 Jan the gui say y m. If I enter 2007-08-00 then it says y m.

    I'm not certain if this was the same in 1.0.1 or 1.0.2 but it is present in 1.0.2.rc2089.

    Also the generate report by year now works but when you have the years in descending order the report is in ascending order and vice versa.

    The "Create Bibliography from collection" still produces the strange ordering results. Which are not observed in the generate report function?
  • I've created a ticket for Nature CSL sorting.

    I've fixed the problem with "Aug" in the latest dev build. Thanks.
  • Cheers Dan

    It looks like any of the default CSLs which allow ordering by year not just by author are effected, e.g., American medical Association, IEEE and dev CSL such as RSC. So there must be something with the ordering. Is it done in the SQL?
  • OK, this is fixed on the dev branch. Thanks.
  • Cheers Dan

    It works again as expected which mean I can create my publication list for my CV. I really like this program, especially the fact that you can store your database on a memory stick, with all your pdfs and carry it around with you.

    Thanks for persevering with this one it is much appreciated.
Sign In or Register to comment.