CMS MADE SIMPLE FORGE

Search module

 

[#2639] Code to search subwords

avatar
Created By: Aleksey Yevtushenko (alexevt)
Date Submitted: 2008-11-17 09:15

Assigned To: Robert Campbell (calguy1000)
Resolution: Won't Fix
State: Closed
Summary:
Code to search subwords
Detailed Description:
In action.dosearch.php there is code:
$ary[] = "word = " . $db->qstr($word);
I changed it to $ary[] = "word LIKE " . $db->qstr("%".$word."%"); to allow
searching subwords
I don't have dev access so i cannot post commits. If you'll decide that it's
useful please apply this change.

History

Comments
avatar
Date: 2009-02-15 11:26
Posted By: Robert Campbell (calguy1000)

word stemming is already an option in the search module.
      
Updates

Updated: 2012-04-15 00:11
state: Open => Closed

Updated: 2009-02-15 11:26
resolution_id: => 8