Closed youssef11420 closed 7 years ago
Hi Youssef! Thanks for your hint and the provided fix, it would be great if you could provide a pull request for this. With a pull request we can easily see what you've changed, rate the changes and additionally the executed tests indicate possible problems.
I think you're right, relations stored as comma-separated values can't be resolved by using SOLR_RELATION, but by using SOLR_MULTIVALUE and e.g. the RECORDS cObject it should be possible to resolve those relations easily. We should discuss if this change on the SOLR_RELATION is really required, do you see any problems by using SOLR_MULTIVALUE and a cObject like RECORDS?
+1, what @dkd-friedrich said
I would also agree to @dkd-friedrich and @irnnr
@youssef11420 can we close the issue?
Since no additional feedback was provided, i close the issue. Please open a new one if the issue is still relevant.
All the many-to-one relations defined in the TCA (without a MM associative table) are not indexed. The foreign label field name is used instead of the local field name. The bug is in the file: Classes/ContentObject/Relation.php
Here is my fix: