The problem is in file: /plugins/freelinking_nodetitle.inc

  $sql = "SELECT title, nid, language FROM {node} WHERE title='%s'";
  if ($type != 'none') {
    $sql .= " AND type='%s'";    
    $result = db_query($sql, $title, $type);
  }
  $result = db_query($sql, $title);

This means that if you restrict to a content type then the query gets modified ($sql .= " AND type='%s'";) but the result is always overwritten. So all that is missing is an else

  $sql = "SELECT title, nid, language FROM {node} WHERE title='%s'";
  if ($type != 'none') {
    $sql .= " AND type='%s'";    
    $result = db_query($sql, $title, $type);
  } else {
    $result = db_query($sql, $title);
  }

Comments

gisle’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)
Parent issue: » #1253878: Nodetitle plugin type selection and title processing broken [Patch provided]

Fixed in 6.x-3.4. Nothing of the code this patch apply to remain.