Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you have a views1 view you're trying to convert or import into views3 (or probably 2), it doesn't work at all. This is due to bugs in views_convert.inc's attempted handling of the filter ids and such. I found the bug, which is that this line is totally bogus:
list(, $id) = explode('.', $field['field'], 2);
dereine then worked on a patch, but upon further testing, the patch doesn't exactly work, and my exposed filters ended up with scrambled labels and such. I'll try to debug it and get it working reliably before I post the patch, but I'm not sure I'm going to be able to get it done tonight. We'll see...
Comment | File | Size | Author |
---|---|---|---|
#1 | 1096914-convert-exposed_filter.patch | 1.42 KB | dawehner |
Comments
Comment #1
dawehnerAnd here is a patch.
It checks for same field/tablename.
Comment #2
dawehnerLet's get this in. Commited to 6.x-3.x and 6.x-2.x