Created
March 9, 2015 12:50
-
-
Save htuscher/c4b41068975b4bb84816 to your computer and use it in GitHub Desktop.
TYPO3 Solr index sys_file_reference uid from related record
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listImageUid_intS = CONTENT | |
listImageUid_intS { | |
table = sys_file_reference | |
select { | |
selectFields = sys_file_reference.uid | |
max = 1 | |
where = 1=1 | |
pidInList = 1 | |
recursive = 10 | |
andWhere = sys_file_reference.tablenames = "myTable" AND sys_file_reference.fieldname = "myField" AND sys_file_reference.uid_foreign = {field:uid} | |
andWhere.insertData = 1 | |
} | |
renderObj = TEXT | |
renderObj.field = uid | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment