Add "Pacakge titles" accordion to package POL view
Description
Environment
Potential Workaround
Attachments
defines
Checklist
hideTestRail: Results
Activity
Dennis Bridges November 18, 2021 at 5:31 PM
test successful in folio-testing
Kyrylo Brener November 18, 2021 at 5:19 PM
Re-tested on testing env. Works as expected - successfully added package titles; accordion is expanded by default. Related test cases updated as well.
Google chrome version: 96.0.4664.45 (Official Build) (64-bit)
Andrei Shumski November 18, 2021 at 10:44 AM
Now Package titles accordion is open by default.
the issue was in plugin-fund-instance after switching to mod-search (Prokopovich team), now it's fixed.
could you test it one more time? thanks
Dennis Bridges November 17, 2021 at 9:09 PMEdited
when testing I keep seeing an error message when selecting a title from the POL view to add to my package. I don't have another order to review with. Is this being caused by the find-instance plugin?
Note: Could we also make the "Package titles" accordion expanded by default? This may help users understand that they can add titles this way as the "Add" button does not appear until the accordion is expanded. thx!
error message:
Error: TypeError: Cannot read properties of undefined (reading 'map')
Stack: at Object.publishers (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2353196)
at https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:633:113637
at Array.forEach (<anonymous>)
at a.t.renderCells (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:633:113489)
at a.t.renderDataRow (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:633:108250)
at a.t.renderRows (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:633:112993)
at a.value (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:633:127936)
at za (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:662:71429)
at Ba (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:662:71228)
at zc (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:662:112370)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:633:103542)
at injectIntl(a)
at div
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:74:39006)
at f (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2975397)
at div
at section
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:350:273058)
at s (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:49:383690)
at div
at z (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2984942)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2992867)
at s (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:49:383690)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:80:248995)
at n (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:71770)
at div
at div
at div
at div
at https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3198155
at r (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:49:423446)
at div
at r (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:350:46024)
at https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3205006
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2314843)
at injectIntl
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2351717)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:48:13901)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:80:453724)
at y (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:185545)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:350:111407)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:38:206146)
at div
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2323926)
at e (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2354807)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:48:13901)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:80:453724)
at y (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:185545)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:350:111407)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:38:206146)
at Tt (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2359886)
at l (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:646:790283)
at f (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:49:422097)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:38:206146)
at Kc (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:640:523963)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2957069)
at div
at div
at h (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3083333)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:89583)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:106652)
at HotKeys-t
at section
at T (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3464439)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:350:121838)
at ms (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:640:530883)
at div
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:646:5928)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3087074)
at Wrappeda(withAccordionStatus)
at div
at section
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:350:273058)
at s (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:49:383690)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:89583)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:106652)
at HotKeys-t
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3101185)
at gu (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:640:552932)
at n (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:71770)
at Ru (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:640:562725)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:48:13901)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:80:453724)
at y (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:185545)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:350:111407)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:38:206146)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:69076)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2957069)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:71204)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:640:658561)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:69076)
at div
at z (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2984942)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2992867)
at s (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:49:383690)
at Dc (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:80:232121)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:89583)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:106652)
at HotKeys-t
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3101185)
at Vb (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:640:687852)
at n (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:71770)
at Zb (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:640:693970)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:48:13901)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:80:453724)
at y (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:185545)
at c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:350:111407)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:38:206146)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:69076)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:71204)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:89583)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:106652)
at HotKeys-t
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3101185)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:89583)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:106652)
at HotKeys-t
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:134744)
at zv (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:640:793742)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3345271)
at h
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3348648)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:38:206146)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1228944)
at Xa (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1350823)
at div
at l (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:646:790283)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1350395)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:69076)
at xc (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1356628)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:71204)
at main
at Fl (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1403983)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1366761)
at div
at $c (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1364971)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1363748)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2956473)
at n (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:71770)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:65561)
at d (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:183580)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:89583)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:708:106652)
at HotKeys-t
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3345271)
at h
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:3348648)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:38:206146)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1360489)
at injectIntl
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1479638)
at t (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:350:1347335)
at u (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:43:92954)
at mt (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1222121)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1228944)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1485456)
at a (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:2956473)
at y (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:23:185545)
at i (https://folio-snapshot.dev.folio.org/bundle.a867e3048975ca1e7e8e.js:731:1492988)
Kyrylo Brener November 11, 2021 at 5:27 PMEdited
Tested on testing env.
Google chrome version: 95.0.4638.54 (Official Build) (64-bit)
Linked instance for regular POL:
Package titles for package POL:
Covered in scope of test case 345426
Purpose: Rename the Linked instances accordion to "Package titles" accordion for the Package POL view. Allow users to add titles for receiving from this view so they don't need to leave the order app to finish building the order.
User story statement(s):
As an ordering librarian
I want to be able to add title information to my package POL from the orders app
so that I don't need to navigate to receiving to complete my order details.
Scenarios:
Scenario:
Given I have created an order and added a package POL
When viewing the package POL
Then I see an accordion called "Package titles" under the Item details accordion
Scenario:
Given I have created an order and added a package POL
When viewing the package POL
Then "Linked instances" accordion is replaced by the "Package titles" accordion