Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Relationships Fieldtype order by Entry ID rather than respect Order set by Import

Status Resolved
Add-on / Version DataGrab 4.2.0
Severity
EE Version 7.2

Todd Jackson

Dec 05, 2022

When Importing into a relationship, instead of respecting the order set by the feed (in my case JSON), the system will order the relationships based on the entry_id .... lowest Entry_ID to the highest.

So if I have a feed which has the following attribute (I’m using Entry_IDs instead of names here to illustrate - I’m matching on names)

talent: “104,72,150”

it’ll be pulled into the relationship system in this order:

“72”, “104”, “150”

-Todd

 

#1

BoldMinded (Brian)

Todd can you please share a sample of your import file and screenshots of your configuration? I don’t need a full import file, just 2 or 3 entries.

#2

Todd Jackson

Comment has been marked private.

#3

Todd Jackson

Comment has been marked private.

#4

BoldMinded (Brian)

Thanks for the info, Todd. Try the build in the next comment. I did some tests locally and it seemed to resolve the issue.

#5

BoldMinded (Brian)

Comment has been marked private.

#6

Todd Jackson

Comment has been marked private.

#7

Todd Jackson

Comment has been marked private.

#8

BoldMinded (Brian)

Comment has been marked private.

#9

Todd Jackson

This worked… all related entries are coming into the system in the related fields order.

Good stuff!

-Todd

#10

BoldMinded (Brian)

Good to hear. I fixed a few other things while I was in there as well.

Login to reply