All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

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