Jump to content

Smart Search Bug and Fix


Recommended Posts

Hello i discovered a bug in smart search.

Smart search does not search service fields because of this code:

on "app/controllers/admin_search.php"

line: 342

  $services = $this->Services->search($search, $page, $pagination);

should be

$services = $this->Services->search($search, $page, true);

because service search function last parameter is search_fields not pagination (  $search_fields If true will also search service fields for the value )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...