This patch updates the taxonomy handlers for D7-related changes. In particular:
- Switches all vocabulary
vidreferences to use vocabularymachine_namefor 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. - Adds
views_handler_filter_vocabulary_machine_name.incfilter handler. - Term synonym functionality has been removed (see #567572: Remove taxonomy synonyms since Field API is better). References and options for term synonym handling has been removed.
- All
db_query()calls updated to new db api. $def['table formula']inviews_handler_relationship_node_term_datadefines 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!