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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from David Nind <[email protected]> ---
I finally managed to test this and get things to work (using
koha-testing-docker).

Initially, both before and after applying the patch, my results were:
1. Merged authority record deleted, it no longer existed.
2. Searches were the same before and after, that is, there were no changes in
the number of results.
3. None of the records that had the old term were updated with the new term.

The issue with merged authority records not updating the bibliographic records
was the system preference AuthorityMergeLimit- this is  set to 50 in
koha-testing-docker.

I'm pretty sure there are easier ways to add a new term to multiple records,
but this is what I did:

1. Enage Elasticsearch as the search engine and reindexed: koha-elasticsearch
--rebuild -d -b -a kohadev

2. AuthorityMergeLimit: set to 50, changed to 1,000.

3. Added two new topical terms:

- Term to merge ==> id = 1708
- Term to keep (merge) ==> id = 1709

4. Manually added "Term to keep (merge)" (1709) to two records
   ==> in authority search, search for "merge" shows as 2 records "Term to keep
(merge)" and 0 for "Term to merge"

5. Created a MARC modification template (Tools > Catalog) with two actions:
   3.1 Add new field(s) 650$a with value Term to merge
   3.2 Update existing or add new field(s) 650$9 with value 1708
       if field 650$a matches Term to merge

6. Created a report to get a list of record ids, exported as a spreadsheet.
   SQL = select * from biblio;

7. Set up and ran a batch record modification:
   - Record type: Biblios
   - Enter a list of record numbers: copy and paste in 200 record ids from the
exported report
   - MARC modification template: choose the template that you created
   - Click "Contine"
   - Check a record to see if it will add a 650$a and 650$9
   - Click "Modifiy selected records'
   ==> in authority search, search for "merge":
   . "Term to merge" shows as 200 records
   . "Term to keep (merge)" shows as 2 records

-- 
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