Koha-clms/acqui
Fridolyn SOMERS a04d410ecb Bug 10483: fix item uniqueness check on order form
When syspref "UniqueItemFields" is defined, the item uniqueness is
tested in acquisition by an AJAX call to check_uniqueness.pl.  This
patch fixes an issue where check_uniqueness.pl wasn't looking
at the correct CGI parameters.

Test plan :
- Select an existing item with barcode
- Add "barcode" to "UniqueItemFields" syspref (use space as separator
  for multiple values)
- Set "AcqCreateItem" syspref to "Create an item when placing an order"
- Go to an acquisition basket
- Create a new order from empty
- Enter existing barcode in item form and save
=> You get an alert that barcode already exists and order is not saved
- Enter a non-existing barcode in item form and save
=> Order and item are created

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 1c9135262b)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit df428a49e5)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit df428a49e5)
2013-10-20 20:13:02 +13:00
..
pdfformat Bug 6394: purchase order has French strings hard coded in 2012-07-14 15:00:16 +12:00
acqui-home.pl bug 6834 followup removing param_map 2011-09-03 06:39:24 +12:00
addorder.pl Bug 7289: Adds editionstatement field in neworderempty 2012-02-17 11:13:34 +01:00
addorderiso2709.pl Bug 9281: FIX add an order from a staged file 2013-02-01 21:30:19 +13:00
basket.pl Bug 7291: Adds new field aqbooksellers.deliverytime 2012-04-03 18:19:46 +02:00
basketgroup.pl Bug 8439 - Printing basketgroup does not work on plack 2012-07-25 13:32:23 +12:00
basketheader.pl Bug 7113: Standardize vendor id name in templates and scripts 2012-02-17 19:04:00 +01:00
booksellers.pl Bug 9824: Make it possible to apply/cancel switch 2013-06-17 19:51:02 +12:00
check_budget_total.pl Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
check_duplicate_barcode_ajax.pl Bug 6963: Corrects a problem when a new order is created with a duplicate barcode. 2011-11-04 10:22:28 +01:00
check_uniqueness.pl Bug 10483: fix item uniqueness check on order form 2013-10-20 20:13:02 +13:00
currency.pl Fix FSF address in directory acqui/ 2010-03-16 20:17:51 -04:00
fetch_sort_dropbox.pl Bug 8629: update of statistics fields on fund selection in order creation/edition 2012-09-25 13:26:43 +12:00
finishreceive.pl Bug 6296: allow users to be authenticated by SSL client certs 2012-03-19 17:02:44 +01:00
histsearch.pl Bug 7018 : need all acq permissions to search 2013-03-29 19:42:06 +13:00
lateorders.pl Bug 4330 : Fixing FSF address and copyright headers for acqui/ 2012-05-29 16:51:59 +12:00
modordernotes.pl Bug 7166: Adds edit order notes when the basket is closed 2012-03-20 16:45:37 +01:00
neworderbiblio.pl Bug 6994: Wrong 'no budget defined' alert 2011-11-06 11:43:30 +01:00
neworderempty.pl Bug 7228: can't add items in an order with Modify 2013-05-14 20:39:57 +12:00
newordersuggestion.pl Bug 4330 : Fixing FSF address and copyright headers for acqui/ 2012-05-29 16:51:59 +12:00
ordered.pl Bug 7735: removal of C4::Dates when unused 2012-03-20 18:11:04 +01:00
orderreceive.pl Bug 9923 - correction of a bug due to bz 7129 2013-05-14 21:46:09 +12:00
parcel.pl SIGNED-OFF] bug 8382: It is not possible to cancel an order on a filtered page in parcel.pl 2012-12-14 08:56:29 +13:00
parcels.pl Bug 7113: Standardize vendor id name in templates and scripts 2012-02-17 19:04:00 +01:00
spent.pl Bug 7735: removal of C4::Dates when unused 2012-03-20 18:11:04 +01:00
supplier.pl Bug 7291: Adds new field aqbooksellers.deliverytime 2012-04-03 18:19:46 +02:00
uncertainprice.pl Fix FSF address in directory acqui/ 2010-03-16 20:17:51 -04:00
updatesupplier.pl Bug 7291: Adds new field aqbooksellers.deliverytime 2012-04-03 18:19:46 +02:00
z3950_search.pl Bug 8680 Z39.50 ISBN Search is problematic and there is a missing ISSN field. 2012-10-10 10:05:42 +13:00