There are a lot of use cases, where the original value of the replaced legacy field needs to be retained, to be available on loaded and entites with synced replacement fields, so the original value can be used programatically, if needed. Examples are:
* consistent taxonomy term sorting (term, name(original))
* admin overviews (where you perhaps want to display the original title of a node, for example)
Let's save these original legacy values to an LEGACYFIELDNAME_original property of the synced entity in title_field_sync_get();
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | title-1445848-4.patch | 786 bytes | plach |
| #1 | 1445848-title--retain-legeacy-value.patch | 781 bytes | danielnolde |
Comments
Comment #1
danielnolde commentedFind attached the patch to meet above request. Would be great if we can have this committed!
Comment #2
danielnolde commentedComment #3
danielnolde commentedThis fix is currently needed for example by the fix for facetapi_taxonomy_sort.module: http://drupal.org/node/1445876
Comment #4
plachSorry, I totally missed this one.
Committed and pushed the attached patch (only cosmetic changes).