Jump to content

judetomi

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by judetomi

  1. You have to change keys to FULLTEXT in getDatabaseSchema like this $schema['keys']['data'] = 'FULLTEXT KEY data (data)';
  2. You could try this solution. Put this to the getMatchQuery function. if(wire('db')->isOperator($operator)) { return parent::getMatchQuery($query, $table, $subfield, $operator, $value); } else { $ft = new DatabaseQuerySelectFulltext($query); $ft->match($table, $subfield, $operator, $value); return $query; }
×
×
  • Create New...