Issue Bug Closed

#21888minor issue with indexing

erik dahlin 12/28/09, 14:37 updated 09/10/13, 09:07

Description

I couldnt figure out why index search wasnt indexing, so I went to the source to find out why.
After a while I finally found the problem.

On line 248 in class.indexer.php there is a check:
if (!strcmp($pObj->sys_language_uid,$pObj->sys_language_content))

It checks if the content language is the same as the sys_language. In my case they where different becuase I was using content_fallback so the content was showing up.

The solution was to change the sys_lang back to the same as the content_lang.
But in my opinion there should be a check for content_fallback in the plugin.

Add an extra condition to the if-statement on line 248 in class.indexer.php that checks for content_fallback
(issue imported from #M13108)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.