https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15248

Andrew Fuerste-Henry <[email protected]> changed:

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

--- Comment #12 from Andrew Fuerste-Henry <[email protected]> ---
Created attachment 187105
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187105&action=edit
Bug 15248: Use record matching rules to find duplicate while cataloging

This patch allows to configure how Koha searches for duplicates when
cataloging manually by using a record matching rule.

For each framework we can now set a record matching rule to use when
searching for duplicates.
This allow to use different matching rules while in acquisition for
instance (ACQ framework).

If a matching rule is selected, we also have the ability to forbid the
creation of duplicate: if a duplicate is found and this option is
enabled, the usual option to create a duplicate will be hidden.

If no matching rule is selected, then the default matching mechanism is
used.

Test plan:
1. Create a record matching rule matching on ISBN
    Threshold: 100
    Record type: biblio
    Match point:
        Search index: "isbn"
        Score: 100
        Tag: "020" (or "010" for UNIMARC)
        Subfields: "a"
        Offset: 0
        Length: 0
        Normalization rule: Remove spaces
    No match checks
2. Edit the default MARC framework and select the new matching rule and
   enable "Forbid duplicate creation"
3. Create a biblio with an ISBN
4. Make sure your new biblio is indexed in Zebra or ES
5. Try to create a biblio with the same ISBN. You should see a warning
   about the duplicate with no option to create the duplicate biblio
6. In the acquisitions module, in a basket add a new order from an
   external source (requires a configured Z39.50/SRU server)
7. Choose a record with an ISBN
8. Once the order is created, try to create a new order from an external
   source and choose the same record. You should see a warning about the
   duplicate.
9. Edit the record matching rule and disable "Forbid duplicate creation"
10. Redo step 5. Now there should be an option to create the duplicate
    record.
11. Redo step 8. Now there should be an option to create the duplicate
    record.
12. Run the following test scripts:
   - t/db_dependent/Search.t
   - t/db_dependent/Matcher.t

Sponsored-by: SCD Lyon2
Signed-off-by: Andrew Fuerste Henry <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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