Hi, I love this module and am hoping for help! I have a Drupal 7 site where someone else set up the biblio module and imported a bunch of records. Now I'm trying to (quickly) provide a view for one category (keyword) of record, sorted by author, but unless something is wrong with the module set-up and/or I'm missing something, there seems to be no way to sort by primary author, or first author in the list. If I add an author sort to my view I get some duplicate results - one for each author on a record - and random sorting. If I could even sort by biblio:citation that would do it, since the total citation starts with "first" author, but that's not available in the sort.

Failing a simple solution to the view sort, is there a way that you can suggest to add a menu item like
/biblio?f[keyword]=71&s=author&o=asc in a menu? The search/sort in a default bublio page works fine but I want it pre-set, and Drupal doesn't seem to want to do this.

Thanks for any suggestions!

Comments

rjerome’s picture

The "Author last name" sort handler was broken, which explains your duplicates/random sorting. I just pushed a fix to the -dev branch, which also adds a select box to choose which author to sort on (defaults to the first author).

Ron.

http://drupalcode.org/project/biblio.git/commit/2f7cd7c

agerard’s picture

I appreciate the response, but since the site is now public I'd rather not roll back to a dev version. Any chance of a patch? Also, it would be wonderful if the aggregate "Authors" field were available in View sorts - since that seems to be how the default display works.

Many thanks.

acschultz’s picture

Ron, you might remember me as having contributed the "in press" and "submitted" code. I wanted to know if the above issue was resolved? I am using 7.x-1.0-rc4 and am having a similar problem with duplicate entries in the view when using the sort by author. Specifically, when sorting by author (authors first initial of last name) and then year, I can see the same record twice. It is not a duplicate record, and I have merged all authors that should have been merged.

Liam Morland’s picture

Issue summary: View changes
Status: Active » Fixed

If you need further help, please re-open and provide details.

Status: Fixed » Closed (fixed)

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