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 are not available to other add-ons

Status Resolved
Add-on / Version Publisher 1.5.9
Severity Blocker
EE Version 2.9.0

Isaac Raway

Mar 11, 2015

We’re using Super Search on a site under development, which has a feature that supports searching Relationships type fields: http://www.solspace.com/docs/super_search/search_syntax/#relationship_fields

This functionality does not appear to work with Publisher installed, I believe due to the exp_relationships table being empty.

#1

BoldMinded (Brian)

Correct, Super Search needs to look at exp_publisher_relationships instead. Due to the order in which EE saves things, I can’t use the native exp_relationships table. Either SS needs to be patched, or a hook needs to be added to it.

#2

Isaac Raway

Would it cause any problems to simply copy exp_publisher_relationships’ rows to exp_relationships so that Super Search can run its queries?

#3

BoldMinded (Brian)

Haven’t really thought if that to be honest. You can try it, but make sure you test saving relationships in an entry… create new entry, edit entry, change relationships assigned, switch languages, do the same thing to see if it all stays in sync.

#4

BoldMinded (Brian)

If that is a viable solution I can add something to just keep the tables in-sync after an entry is saved.

#5

BoldMinded (Brian)

Added a syncing option so the default language and open status relationship assignments get synced back to the native table, however, since the native table does not have translations then your milage may vary when it comes to other 3rd party add-ons referencing it instead of exp_publisher_relationships.

Login to reply