[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 1 12:00:31 CET 2013


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

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14557|0                           |1
        is obsolete|                            |

--- Comment #4 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 15798
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15798&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 should be only when itemtype is defined in biblio and not in items.

Test plan :
On a database with itemtype mapped in biblioitems and "item-level_itypes"
syspref on "biblio record" :
- 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
- Click on save
=> no duplicate detected
- Set "item-level_itypes" syspref to "specific record"
- Come back to 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
=> a duplicate is detected

Signed-off-by: Marc Veron <veron at veron.ch>
Followed test plan. Behaves as expected.
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