Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Tomas Cohen Arazi cba15aaa09 Bug 34022: Adjust items data structure
When creating items at receiving, the generated data structure didn't
match what the code expected, so this patch adapts the code to match the
new data structure introduced by bug 8179.

Once I fixed that, I noticed that the $.ajax request payload, when it
contains an array parameter, it renames it like `param[]`. So the
finishreceive.pl controller is adjusted to this behaviour for the 'on
receiving' use case.

To test:
1. Apply this patch
2. Create a basket with 'create items on receive'
3. Create an order line
4. Close basket
5. Receive shipment
6. Enter invoice number
7. Click on Receive link in the table
8. Fill out item form, make sure all mandatory fields are set
9. Save
10. Verify that the order line is marked as 'received'
11. Verify that there item is created on the record
=> SUCCESS: Works as expected
12. Sign off :-D

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a40c512bf0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-06-26 14:49:52 +02:00
..
acqui Bug 34022: Adjust items data structure 2023-06-26 14:49:52 +02:00
admin Bug 32478: Fix handling of undef values in ItemsDeniedRenewal 2023-06-09 16:05:04 -03:00
authorities Bug 33524: Use template wrapper for tabs: Authority editor 2023-06-09 12:04:59 -03:00
basket Bug 33160: (QA follow-up) Adjust condition on biblio object 2023-04-06 09:47:24 -03:00
batch
catalogue Bug 33725: Add collection to search results 2023-06-09 16:05:09 -03:00
cataloguing Bug 33525: Use template wrapper for tabs: Basic MARC editor 2023-06-09 11:22:16 -03:00
circ Bug 33888: (bug 22375 follow-up) Add missing USE KohaDates 2023-06-26 14:44:17 +02:00
clubs Bug 33553: Remove unecessary GetCategories calls in templates 2023-05-16 15:17:35 -03:00
course_reserves Bug 33383: Use template wrapper for breadcrumbs: Course reserves 2023-04-12 09:27:07 -03:00
erm Bug 33408: Remove obsolete tests and template sys pref code 2023-04-13 11:48:02 -03:00
errors
ill Bug 33779: Terminology: biblio record 2023-06-09 11:22:13 -03:00
installer Bug 28267: Add warnings for database row formats 2023-05-05 10:18:35 -03:00
labels Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
mana
members Bug 33343: Catch more cases and correctly use new-password hint 2023-06-09 12:04:57 -03:00
offline_circ Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
onboarding
patron_lists Bug 25379: (QA follow-up) Adjust other occurrences and add line break 2023-05-09 11:47:01 -03:00
patroncards Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
plugins Bug 33463: Remove sort for 'Actions' on the plugins table 2023-05-15 08:53:54 -03:00
pos Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
recalls
reports Bug 33966: (bug 23824 follow-up) Fix submit buttons for translated templates 2023-06-20 14:35:39 +02:00
reserve Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
reviews Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
rotating_collections Bug 33555: Use template wrapper for breadcrumbs: Rotating collections 2023-04-21 10:36:22 -03:00
serials Bug 32752: Update serial edit form to allow for new status 2023-05-15 18:24:08 -03:00
services
suggestion Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
tags Bug 33565: Use template wrapper for breadcrumbs: Tags 2023-04-24 10:43:35 -03:00
test
tools Bug 33865: (bug 27421 follow-up) Remove leftover 2023-06-09 11:22:02 -03:00
virtualshelves Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
about.tt Bug 28267: Add warnings for database row formats 2023-05-05 10:18:35 -03:00
auth.tt Bug 33253: Turn off autocompletion for 2FA authentication code 2023-05-09 11:46:59 -03:00
intranet-main.tt