WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • Modules »
  • OneForAll - WB Search is not looking inside OFA items
  • Print
Pages: [1]   Go Down

Author Topic: OneForAll - WB Search is not looking inside OFA items  (Read 13499 times)

Offline CodeALot

  • Posts: 579
  • Gender: Male
OneForAll - WB Search is not looking inside OFA items
« on: February 25, 2020, 06:24:13 PM »
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? :)
Logged

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: OneForAll - WB Search is not looking inside OFA items
« Reply #1 on: February 26, 2020, 10:32:44 AM »
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!
Logged

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: OneForAll - WB Search is not looking inside OFA items
« Reply #2 on: February 28, 2020, 12:25:06 PM »
I guess it's a bug, and one that can't be solved...  :oops:
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8920
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: OneForAll - WB Search is not looking inside OFA items
« Reply #3 on: February 28, 2020, 08:07:37 PM »
Hi, try this: ofa > search.php line 79

change
Code: [Select]
.'WHERE `item_id` = \'{'.$res['item_id'].'}\' 'to
Code: [Select]
.'WHERE `item_id` = '.$res['item_id'].' '
In my tests i could find searched words in text, textarea and wysiwyg.
Logged
https://onkel-franky.de

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: OneForAll - WB Search is not looking inside OFA items
« Reply #4 on: February 28, 2020, 08:45:48 PM »
You are a hero. Thank you very much!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • Modules »
  • OneForAll - WB Search is not looking inside OFA items
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2