Conversion from Views 1
Darren Oh - May 6, 2009 - 15:12
| Project: | FileField |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
When importing a Views 1 view, the Filefield display format is not preserved. Patch to follow.

#1
Patch attached.
#2
Added filter and argument conversion. I've tested this, and since there haven't been any others interested in testing, I'm marking it as ready to be committed.
#3
Hey Darren Oh, I'm planning on getting this in, I just haven't had time to review this yet. Do you know of any problems with the code (since this version is notably longer than the first version).
This definitely seems unnecessary:
+ foreach ($content_field['columns'] as $column => $attributes) {+
+ }
I still haven't applied to test it out, since it requires a bit of set up.
#4
This version is longer because it fixes all problems, not just one. There are no remaining issues that I know of. The unnecessary lines are removed in the attached patch.
#5
Thanks Darren Oh! Any implementation is better than none, so I've committed your patch. Thanks!
#6
Automatically closed -- issue fixed for 2 weeks with no activity.