[Koha-bugs] [Bug 9377] itemtype in duplicate biblio search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 8 08:45:28 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9377

--- Comment #11 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 15964
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15964&action=edit
Bug 9377 - itemtype in duplicate biblio search

In C4::Search::FindDuplicate, when biblio has no ISBN, the duplicate search
adds :
$query .= " and itemtype=$result->{itemtype}".
This is wrong when itemtype is defined in items.

This patch simply removes the itemtype from dublicate search.

Test plan :
- Go to a biblio details page
- Click on "Edit as new (duplicate)"
- If ISBN is defined, remove it
- Click on save
=> a duplicate is detected
- Change biblio item type and save
=> a duplicate is detected
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list