Skip to content

Commit

Permalink
Merge pull request #267 from Connexions/multihash-resource
Browse files Browse the repository at this point in the history
Sloppy match on hash for resoruces
  • Loading branch information
mmulich committed Oct 9, 2014
2 parents b171e27 + 694cdad commit f144290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cnxarchive/sql/get-resource.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ SELECT mf.mimetype, f.file
FROM module_files as mf
LEFT JOIN files f on mf.fileid = f.fileid
WHERE f.sha1 = %(hash)s
OR f.md5 = %(hash)s
;

0 comments on commit f144290

Please sign in to comment.