Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2010 at 19:43 UTC
Updated:
21 Oct 2010 at 19:50 UTC
This patch updates the taxonomy handlers for D7-related changes. In particular:
vid references to use vocabulary machine_name for better compatibility with exportables. There is a small compatibility layer in each handler which will accept a legacy $this->options['vid'] or ['vids'] key and convert it to machine name.views_handler_filter_vocabulary_machine_name.inc filter handler.db_query() calls updated to new db api.$def['table formula'] in views_handler_relationship_node_term_data defines a subselect as an string (SQL). The new dbapi expects this to not be a SQL string but instead a select query object. This patch makes this change but we may want further review of this API change in another issue.| Comment | File | Size | Author |
|---|---|---|---|
| d7_views_taxonomy_handlers.patch | 31.64 KB | yhahn |
Comments
Comment #1
dawehnerSome things
* add tag 'term_access'
*
But we don't have $item['vid'] anymore
The rest is rtbc from my perspective. I already had a look and some tests earlier this week.
Comment #2
febbraro commentedsubscribe
Comment #3
dawehnerSo. I fixed the two things and commited the patch. Awesome work!