I have the sorting on the settings page set to

Title

Author,Title,Type,Year

Ascending

When looking at the biblio page this results in [Year][Title][Type][Author] - but taking the links results in a DESCENDING search which my users are finding really counter intuitive!!

I can see that the link for Title should be descending (ie the reverse of what we came in with), and I can see an argument that the default sort order for year probably does make sense to be descending but it doesn't make sense for Type or Author - which is the one they take most often.

Looking at function biblio_show_results($result, $attrib = array("sort" => 'year', 'order' => 'DESC'), $args = null,$inline=false)
it doesn't seem to be making any reference to biblio_order which is the one set on the settings page - should it be?

I have another problem in that the author link (biblio/author?sort=author&order=desc) seems to be sorting by First name - displayed as initial?? I'm sure it wasn't before?!

CommentFileSizeAuthor
#5 biblio-author-order.png145.04 KBboabjohn

Comments

rjerome’s picture

Yes, I see the issue now. Those links are toggles, so if you click a second time the order reverses. The issue here is that the links other than the default should be the opposite since they have never been visited. I'll fix that.

As for the author sorting, this is a major headache which I am endeavoring to correct in the next release. If you entered the name on the form (or imported data) in the form "Firstname I. Lastname" it will sort on the firstname even though (due to author name normalization) it is displayed Lastname, F. As I said, this is at the top of the todo list for the next version, and then hopefully I can back port it to 5.x if there is demand.

Ron.

rjerome’s picture

Status: Active » Fixed

Sort links issue fixed in the latest -dev version.

csc4’s picture

Cheers Ron. Thanks again for the great support you give this module.

As to the author sorting - how would you like to measure demand ? Sign me up ;)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

boabjohn’s picture

Status: Closed (fixed) » Active
StatusFileSize
new145.04 KB

hmmm....Am I behind the times here?

I'm running:
Bibliography Module 5.x-1.17

But the author sorting is exactly as described above. Screenshot attached:

Where entered:
Cook, David the sort is properly on "C"

Where entered:
David Cook or David C. Cook, the sort is on "D"

Yes: I too wish they were not in 5.x land...but what can I do?

boabjohn’s picture

Component: User interface » Code
Priority: Minor » Normal
rjerome’s picture

Unfortunately, that is a limitation of the 5.x version. The only way to fix that would be for me to port the new author handling capabilities in 6.x back to 5.x, and I don't think that's going to happen anytime soon :-(

Ron.

boabjohn’s picture

Status: Active » Closed (won't fix)

Okay, Ron...thanks for the confirmation. Setting the ticket to "(probably) won't fix". Cheers.