WebsiteBaker Support (2.12.x) > Modules

OneForAll - WB Search is not looking inside OFA items

(1/1)

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? :)

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:
I guess it's a bug, and one that can't be solved...  :oops:

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

change

--- Code: ---.'WHERE `item_id` = \'{'.$res['item_id'].'}\' '
--- End code ---
to

--- Code: ---.'WHERE `item_id` = '.$res['item_id'].' '
--- End code ---

In my tests i could find searched words in text, textarea and wysiwyg.

CodeALot:
You are a hero. Thank you very much!

Navigation

[0] Message Index

Go to full version