Active
Project:
Bibliography Module
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2013 at 16:32 UTC
Updated:
30 Nov 2019 at 09:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alan d. commentedSame issue, but I found that it was caused by the Family name filtering:
This adds a "biblio_contributor.rank = 0" so that only the first author is ever used.
To resolve, remove this sort option, but a bug due to the coupling of two different features :(
@davrot
Are you also using surname sorting?
Comment #2
thoogend commentedNice work! You explained the problem I just started to have after upgrading the biblio module. Thanks to your description, I was able to sort things out (no pun intended).
The EVA views display that I was using with the "Biblio: Author last name" field in a contextual filter was conflicting with the "Biblio: Author last name (1st Author, asc)" field in sort criteria. When I changed the sort to instead use "Biblio: Author full name (asc)", results matching the author whether they were first, second, third, and so on all appeared again.
Thanks again!
PS I also posted about this same problem in a different issue (https://www.drupal.org/project/biblio/issues/2087805), but this is the work around.
Comment #3
tokiI am really sorry but I still can't get an Author last name Views filter working. My client needs a double sorting (year and author last name) which is working (adding the mentioned sort option above, biblio_contributor.rank=0) but if you add a full or last name filter, it does not work.
Does anybody know how to build a View based on Biblio contents with a double sorting (year, 1st author last name) AND an Author last name exposed filter? Thanks for any tip here.
Comment #4
liam morland@thoogend Does this require a patch to the biblio module or is this really a support request?
Comment #5
alan d. commentedBug, that sort option means that the query will only join a single author field, breaking the other filtering / conditional options that are looking at the second+ author(s)
Comment #6
liam morlandIt would be helpful to have steps to reproduce the problem including the expected and actual results.
Comment #7
alan d. commenteddon't think I have access to any biblio setup atm...
guessing from my very old report
alter a listing to order by family name
add a filter to search for family name
add a pub by A and B
Search A, should be found
Search B, no result
Comment #8
tokiPlease find attached an export.
In my case, I need to sort Biblio citations by year and first author last name.
When I try to use the Author last name exposed filter, I get no results.
Thanks for your time.
PS : if you need more information, do not hesitate, I may add examples and screenshots if needed.
Comment #9
waleedagel commentedDid you manage to solve this problem?