Skip to content

Instantly share code, notes, and snippets.

@htuscher
Created March 9, 2015 12:50
Show Gist options
  • Save htuscher/c4b41068975b4bb84816 to your computer and use it in GitHub Desktop.
Save htuscher/c4b41068975b4bb84816 to your computer and use it in GitHub Desktop.
TYPO3 Solr index sys_file_reference uid from related record
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