Koha/acqui
Nick Clemens 21864739e6
Bug 32054: Add get_import_record_matches object method and use it
Thispatch adds the new method and alters addorderiso2907.pl to use this
rather than GetRecordImportMatches

To test:
 1 - Import the attached record several times
 2 - Set up a matching rule:
    TitleAuthor threshold: 100
    Matchpoint:
    search index: title, score: 100, tag: 245$a
    search index: author, score: 100, tag:100$a
 3 - Edit one of the imported records to have a different author
 4 - Stage the file again. and match using the matchpoint above
 5 - Note that matches are found and listed on batch management, with the lowest scored match last
 6 - Choose that match
 7 - In acquisitions, add to a basket from the staged file
 8 - Check the box for the record
 9 - Note the match lists the biblionumber for the highest scoring match, not the chosen one
10 - Add an order and note it is for the wrong biblio
11 - Appy patch
12 - Restart_all
13 - Stage the file again and choose a lower scoring match
14 - Confirm when adding to basket this match is preserved
15 - Complete order and verify correct biblio ordered
16 - Stage again, select no match
17 - Confirm no match listed when adding to basket, and choose 'Do not look for matching records' while adding
18 - Confirm order is created on a new biblio

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2023-01-18 15:58:19 +00:00
..
acqui-home.pl
addorder.pl Bug 32457: Fix CGI vulnerability in addorder.pl 2022-12-14 15:07:09 -03:00
addorderiso2709.pl Bug 32054: Add get_import_record_matches object method and use it 2023-01-18 15:58:19 +00:00
ajax-getauthvaluedropbox.pl
basket.pl Bug 15348: Add estimated delivery date field to individual orders 2022-09-16 10:36:53 -03:00
basketgroup.pl Bug 31257: Add a new English 1 page layout to export basketgroup 2022-10-11 10:44:10 -03:00
basketheader.pl
booksellers.pl Bug 31017: Update field name to 'type' 2022-08-19 16:15:15 -03:00
cancelorder.pl Bug 29658: Fix crash on cancelling cancelled order 2022-09-12 16:14:47 -03:00
check_budget_total.pl
check_uniqueness.pl
duplicate_orders.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
edi_ean.pl
edifactmsgs.pl
edimsg.pl
finishreceive.pl Bug 29955: Move populate_order_with_prices to Koha namespace 2022-08-19 15:47:51 -03:00
histsearch.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
invoice-files.pl
invoice.pl Bug 25763: Allow updating of order fund from invoice 2022-10-24 15:30:46 -03:00
invoices.pl Bug 31115: Add additional field filtering for invoice search 2022-10-24 14:11:07 -03:00
lateorders-export.pl Bug 15348: trivial code simplification 2022-09-16 10:36:53 -03:00
lateorders.pl Bug 30718: Pass DT to filter_by_lates 2022-08-19 08:26:37 -03:00
moddeliverydate.pl Bug 15348: (follow-up) Fix modal to edit delivery date 2022-09-16 10:36:57 -03:00
modordernotes.pl
neworderempty.pl Bug 29554: Do not hide display of itemtypes on neworderempty 2022-10-13 11:24:26 -03:00
newordersubscription.pl
newordersuggestion.pl Bug 23991: Move SearchSuggestion to Koha::Suggestions 2022-06-27 12:30:28 -03:00
ordered.pl
orderreceive.pl Bug 31459: (follow-up) Preserve budget period display 2022-10-24 15:26:24 -03:00
parcel.pl
parcels.pl Bug 31115: Add support for additional fields for invoices 2022-10-24 14:11:06 -03:00
showorder.pl
spent.pl
supplier.pl
transferorder.pl
uncertainprice.pl
updatesupplier.pl Bug 31017: Update field name to 'type' 2022-08-19 16:15:15 -03:00
z3950_search.pl