Lines 112-119
sub FindDuplicate {
Link Here
|
112 |
# quotes around the value |
112 |
# quotes around the value |
113 |
$result->{title} =~ s/(and|or|not)//g; |
113 |
$result->{title} =~ s/(and|or|not)//g; |
114 |
$query = "ti,ext=$result->{title}"; |
114 |
$query = "ti,ext=$result->{title}"; |
115 |
$query .= " and itemtype=$result->{itemtype}" |
115 |
|
116 |
if ( $result->{itemtype} ); |
116 |
if ( $result->{itemtype} |
|
|
117 |
&& !C4::Context->preference('item-level_itypes') ) |
118 |
{ |
119 |
$query .= " and itemtype=$result->{itemtype}"; |
120 |
} |
121 |
|
117 |
if ( $result->{author} ) { |
122 |
if ( $result->{author} ) { |
118 |
$result->{author} =~ s /\\//g; |
123 |
$result->{author} =~ s /\\//g; |
119 |
$result->{author} =~ s /\"//g; |
124 |
$result->{author} =~ s /\"//g; |
120 |
- |
|
|