Closed (fixed)
Project:
Field Collection Table
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2011 at 10:48 UTC
Updated:
27 Aug 2011 at 16:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
tim.plunkettOrder of which, the field collection items, or the field collections?
Given the case of a content type playlist, field collection of track, and field collection items of artist, title, and album.
Reordering the HEADERS of the table (artist, title, album) works.
Reordering the CONTENTS of field_collection_items (if you have a multiple artist field, rearranging individual artists for a track) works.
Reordering the tracks themselves does not work, but I haven't seen that work for any of the displays, and shouldn't be specific to this module.
Comment #2
singularoSingle field collection, with multiple columns, its an invoice, and the field collection table is for line items.
The columns are: date popup, qty, stock code, description, serial number, price
Moving any around in the design works, but in the edit form, they always come out in the order listed. The weights do appear to work on the output of the saved node, so only in the edit form does the issue appear.
Comment #3
tim.plunkettAh, now that's information I can work with!
Please try this patch (it's only a one-liner, you could probably edit it in yourself).
Comment #4
singularoYep, that solves it nicely. Thanks!
Comment #5
tim.plunketthttp://drupalcode.org/project/field_collection_table.git/commit/677c9b0