OneForAll - WB Search is not looking inside OFA items

CodeALot


dbs

Hi, try this: ofa > search.php line 79

change
.'WHERE `item_id` = \'{'.$res['item_id'].'}\' '
to
.'WHERE `item_id` = '.$res['item_id'].' '

In my tests i could find searched words in text, textarea and wysiwyg.
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

CodeALot

I guess it's a bug, and one that can't be solved...  :oops:

CodeALot

Added info: Yes I did declare "oneforall" as one of the modules that has to be searched. If the search string is in the TITLE of an OFA-item, it will find it. But not the words in the fields of the OFA record. Any help is appreciated!

CodeALot

WB 2.12.2 r379
OneForAll 2.0.2.23


The default Search-functionality appears to look through mod_oneforall_items. It will find words used in the title of an OFA item.
However, even though the OFA SEARCH.PHP declares mod_oneforall_item_fields to be searched as well, WB's Search seems to ignore that. It will not find any text inside an OFA-item.

Is this a bug or is there something I overlooked? :)