This bit of code will extend the functionality of the biblio_db_search() by allowing an publication author's lastname AND First Initial to specify the outcome of the query.

It works similarly to calling biblio_db_search('inline', 'author', $lastname); but allows a firsname initial to be added. It could be called like this: "print biblio_db_search('inline', 'authorfilast', $lastname.'?'.$firstnamefirstletter);"

The attached snipit is working code that adds a "authorfilast" case to the biblio_build_query() function around line 278 of the biblio.pages.inc file.

Thanks!!

Comments

liam morland’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.