We are using the biblio module on our site and prefer to sort authors by last name. The problem, however, is that a secondary sort--by year--is applied automatically, so the bibliography may look like:
Sandler, A (2009)
Smith, J (2008)
Sandler, A (2007)
I have not found any way to turn off the secondary sort so the only sort is by last name:
Sandler, A (2009)
Sandler, A (2007)
Smith, J (2008)
Is there any way to turn this off? Perhaps this is something for a future release.
Thanks
Comments
Comment #1
rjerome commentedThere is no way to turn this off without editing the code.
It is however a long standing feature request.
Ron.
Comment #2
uw07 commentedThanks very much for the reply. Could you possibly direct me to the code that needs to be edited? Or to another post that describes how to edit the code to turn the secondary, "by year" sort off.
Comment #3
rjerome commentedYou would have to edit the biblio.module file and near the top of the biblio_db_search function you will see this starting at line 1866
you will want to change line 1879 which currently looks like this...
and remove the "b.biblio_year DESC" so it looks like this...
Comment #4
uw07 commentedThank you! Your time and assistance are very much appreciated.
Comment #5
bekasu commentedMarking issue closed.