From a508bc1cd2a0ddba87a8452dabc7f3a369b9d18d Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Sun, 25 Nov 2007 21:43:25 -0600 Subject: [PATCH] s/mt/itemtype/ for FindDuplicate Signed-off-by: Joshua Ferraro --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index 39ba582dba..3909e6b99d 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -117,7 +117,7 @@ sub FindDuplicate { # remove valid operators $result->{title} =~ s/(and|or|not)//g; $query = "ti,ext=$result->{title}"; - $query .= " and mt=$result->{itemtype}" if ($result->{itemtype}); + $query .= " and itemtype=$result->{itemtype}" if ($result->{itemtype}); if ($result->{author}){ $result->{author} =~ s /\\//g; $result->{author} =~ s /\"//g; -- 2.39.5