When I create an exposed filter on "Biblio: Author Lastname", all the corporate authors names in the option list have a comma stuck on the end.

Comments

Lanae’s picture

Status: Active » Needs review

I fixed this in my install by changing line 13 of biblio/views/biblio_handler_filter_contributor_lastname.inc to:
$this->value_options[$row->lastname] = rtrim("$row->lastname, $row->firstname $row->initials",', ');

rjerome’s picture

Thanks, and sorry the delay on this one.

I've implemented a slightly different fix, but the result should be the same.

      if(!empty($row->firstname) || !empty($row->initials)) {
        $this->value_options[$row->lastname] =  "$row->lastname, $row->firstname $row->initials";
      }
      else {
        $this->value_options[$row->lastname] =  $row->lastname;
      }

http://drupal.org/cvs?commit=434774

rjerome’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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