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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 14 09:53:08 CET 2013


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

Marc Véron <veron at veron.ch> changed:

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

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 14557
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14557&action=edit
[SIGNED-OFF] 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.

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


More information about the Koha-bugs mailing list