Open mdestafadilah opened 6 years ago
I don't remember. I will have to go back and look at the code.
I just replace this line
$searchFields = $this->db->select('id')->where('is_searchable','y')->get('content_fields');
with this new line code
$this->db->select('content_fields.id, content_types.dynamic_route') ->from('content_fields')->join('content_types', 'content_types.id = content_fields.content_type_id') ->where('is_searchable','y'); $searchFields = $this->db->get();
I just only get "dynamic route" from content type contains value "fieldid".. i will update soon ... i just add thats line.
Hi,
Search module only read first segment for the result? or may i custom search modules?
Thanks.