Lines 45-55
sub get_component_part_query {
Link Here
|
45 |
|
45 |
|
46 |
if (!defined($pf003)) { |
46 |
if (!defined($pf003)) { |
47 |
# search for 773$w='Host001' |
47 |
# search for 773$w='Host001' |
48 |
$searchstr = "rcn='".$pf001->data()."'"; |
48 |
$searchstr = "rcn=\"".$pf001->data()."\""; |
49 |
} else { |
49 |
} else { |
50 |
# search for (773$w='Host001' and 003='Host003') or 773$w='Host003 Host001') |
50 |
# search for (773$w='Host001' and 003='Host003') or 773$w='Host003 Host001') |
51 |
$searchstr = "(rcn='".$pf001->data()."' AND cni='".$pf003->data()."')"; |
51 |
$searchstr = "(rcn=\"".$pf001->data()."\" AND cni=\"".$pf003->data()."\")"; |
52 |
$searchstr .= " OR rcn='".$pf003->data()." ".$pf001->data()."'"; |
52 |
$searchstr .= " OR rcn=\"".$pf003->data()." ".$pf001->data()."\""; |
53 |
} |
53 |
} |
54 |
} |
54 |
} |
55 |
} |
55 |
} |