I have titles with a lot of periods i.e. "ALEXANDER, John. Cisco CallManager fundamentals. 2a."

Search failed every time I tried to search with a text string containing a period.

To fix i added this line

 $query_params[6] = str_replace ('.', '. ', $query_params[6]);

just before this (line 756 in scanner.module)

    $result = db_query("
      SELECT t.%s as content, t.nid, n.title
      FROM {%s} t
      INNER JOIN {node} n ON t.%s = n.%s
      $join
      WHERE n.type = '%s' AND $where
    ", $query_params);

Comments

yngvewb’s picture

Status: Patch (to be ported) » Active

This should have been posted in the Search and Replace scanner module issue queue. Sorry about that! Just delete this post please.