Koha/acqui
Nick Clemens 3bc8259e4f
Bug 32437: Honor overlay setting in staged batch when adding to a basket
This patch uses the replace method added in last patch to ensure
records are overlayed when added to a basket

To test:
 1 - Stage the sample file on this report using the options below
     (If not using sample database simply save a record as marc from the details page, then change the title in the interface and import the saved version)
 2 - Make sure to match using KohaBiblio (999c)
 3 - Set option "Replace existing record" if match found
 4 - Once record is staged go to Acquisitions
 5 - Find a vendor and select/create an open basket
 6 - Add to basket from the staged file
 7 - Add order info and save
 8 - Check the record, title is unchanged -  Sample file should add 'New and improved!'
 9 - Check the staged records batch - note the diff shows that new record should have overwritten
10 - Apply patch
11 - Stage file, match on KohaBiblio, set action if matching record found to 'Ignore incoming record'
12 - Add to basket from the staged file and save
13 - Confirm record not overlayed when not reuqested
14 - Stage file, match on KohaBiblio, set action if mathc record found to  'Replace existing...'
15 - Add to basket from staged file and save
16 - Confirm the record is updated to 'New and improved!'

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-31 13:13:27 +02: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 32437: Honor overlay setting in staged batch when adding to a basket 2023-03-31 13:13:27 +02: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
edi_ean.pl
edifactmsgs.pl
edimsg.pl
finishreceive.pl Bug 25655: Add tests 2023-03-06 13:57:53 -03:00
histsearch.pl Bug 32377: Set param skiptotals on call of GetBudgetHierarchy in acqui/histsearch.pl 2023-01-31 11:02:21 -03:00
invoice-files.pl
invoice.pl Bug 32705: Display the column if 1 order has an invoice price 2023-03-06 14:04:12 -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
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