From 94b89a418c3615a8c9e687b38b056a7596c73391 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 15 Aug 2012 14:35:24 -0400 Subject: [PATCH 1/1] add author to 'edition' fingerprint Title and edition alone aren't sufficient; for example, Meg Cabot and Stephanie Meyer both published the first edition of books called Twilight in 2005. Signed-off-by: Galen Charlton --- fingerprinter | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fingerprinter b/fingerprinter index 03a67a1..a3af67a 100755 --- a/fingerprinter +++ b/fingerprinter @@ -373,11 +373,11 @@ sub dump_fingerprints { } } - if ($conf->{fingerprints}{edition} and $marc->{edition}) { + if ($conf->{fingerprints}{edition} and $marc->{edition} and $marc->{author}) { print OF join("\t", $marc->{score}, $marc->{id}, "edition", $marc->{item_form}, $marc->{date1}, $marc->{record_type}, $marc->{bib_lvl}, - $marc->{title}, $marc->{edition}), "\n"; + $marc->{title}, $marc->{author}, $marc->{edition}), "\n"; } if ($conf->{fingerprints}{issn} and $marc->{issn}) { -- 1.7.2.5