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...

CommentFileSizeAuthor
#1 1096914-convert-exposed_filter.patch1.42 KBdawehner

Comments

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new1.42 KB

And here is a patch.

It checks for same field/tablename.

dawehner’s picture

Status: Needs review » Fixed

Let's get this in. Commited to 6.x-3.x and 6.x-2.x

Status: Fixed » Closed (fixed)

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