Problem/Motivation
Using the latest 7.x-1.x-dev, we are trying to create a view of publications with exposed filters.
One of the exposed filters we want to use is the Biblio Drupal UserID, to allow us to expose only those contributors who are also Drupal users on the site. This simply does not work. The dialogue overlay when adding or editing the filter criteria does not list the users, and exposing it therefore shows no form.
Proposed resolution
Fix it - which I think I have, patch to follow.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | biblio_views_filter_drupal_userid_fix_1802264.patch | 1.27 KB | finn lewis |
Comments
Comment #1
finn lewisI have this working locally, by changing the filter handler in biblio.views.inc from
to
And in biblio_handler_filter_contributor_uid.inc, changing the value_options to use $row->drupal_uid rather than $row->cid.
Patch against current 7.x-1.x-dev attached
Comment #2
rjerome commentedHmmm, that was strange. Looks like I got half way through implementing that feature, then never finished.
It's committed now... http://drupalcode.org/project/biblio.git/commit/266ab64
Ron.
Comment #3
rjerome commented