Closed jonathanstegall closed 3 years ago
I'm also a little curious whether this warrants a 1.10.0 version, or whether it should still be 1.9.x.
Start with looking at these lines because it really makes it seem like I started on this and then forgot about it?
This is where it was removed. It does not seem to have been intentional, as far as I can tell.
Describe the bug When a Salesforce object type has record types associated with it, we show them to users who are working with fieldmaps. All of the record types are displayed with checkboxes as "allowed record types" and one of them has a dropdown for "default record type." The default record type, if it exists, is what a record is saved as when it is pushed from WordPress.
We use this setting info in various places throughout the plugin, but we don't currently use it to filter the SOQL query that pulls updated records from Salesforce. This can cause queries to be much bigger than they need to be.
To Reproduce Steps to reproduce the behavior:
Expected behavior I think the SOQL query should only pull records where the record type is one of the allowed record types. The pull query can ignore the default record type, I think.
Screenshots The screen looks like this.
Additional context I'm a little worried about why I overlooked this for so long. I'd like to look through the history of the file a little and just make sure there wasn't some weird intentionality in this.