Welcome Guest, Not a member yet? Register   Sign In
TableEditor 0.4
#21

[eluser]Unknown[/eluser]
I find this project great to my needs for which I'm grateful, but I'm really not fond of the search form. If the strings in a certain table contain a few words (like titles in my case) and I do a search for a word, no results come up. I must surround the word with two * in order to get my desired results like normal search engines do. I find this rather inconvenient and would like to ask for a quick solution on how to solve it?

Where should I add the two surrounding * * around the search value, so when one simply writes a word the search displays the results for that word. In fact I want to disable the wildcards at all. It would be much simpler and better that way.

Any suggestion would be welcomed.

EDIT: Just added:

Code:
$value = '*' . $value . '*' ;

in mdl.tableeditor.php at the beginning of:

Code:
private function _parseSearchItem($column, $value)

And all is well Smile




Theme © iAndrew 2016 - Forum software by © MyBB