We broke views support with the multiattach patch!

Joining image_attach onto node means we get multiple rows if there are multiple images.
This *might* be desirable, but it's the job of a relationship. A field should only give one row.
So we need to totally change the implementation of the field, and have it as a fake field that does its own query like CCK multiple fields.

Patch on the way.

CommentFileSizeAuthor
#1 567226-image_attach-views-field.patch9.63 KBjoachim

Comments

joachim’s picture

Status: Active » Needs review
StatusFileSize
new9.63 KB

Patch.
I'd appreciate at least an eye-check for sanity :)

joachim’s picture

Status: Needs review » Fixed

Made some test views with this.

Committed.

Note for release notes: views fields will need replacing manually.

Status: Fixed » Closed (fixed)

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

ice5nake’s picture

Version: 6.x-1.0-beta1 » 6.x-1.0-beta5

I am still seeing this problem.

joachim’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

Have you cleared your Views cache?

joachim’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further info -- setting back to closed.