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

M. de Rooy <m.de.r...@rijksmuseum.nl> changed:

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

--- Comment #4 from M. de Rooy <m.de.r...@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 <ve...@veron.ch>
Followed test plan. Behaves as expected.
Signed-off-by: Marcel de Rooy <m.de.r...@rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to