Skip to content
Snippets Groups Projects
Commit a56704d4 authored by ale's avatar ale
Browse files

make unique id comparison case-insensitive

parent eb8e2553
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ func (m *Metadata) Uniques() []string {
out = append(out, fmt.Sprintf("isbn:%s", isbn))
}
// Call it 'sig', but it's just title+author(s).
sig := fmt.Sprintf("sig:%s|%s", m.Title, strings.Join(m.Creator, "|"))
sig := strings.ToLower(fmt.Sprintf("sig:%s|%s", m.Title, strings.Join(m.Creator, "|")))
out = append(out, sig)
return out
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment