Uploaded image for project: 'ui-inventory'
  1. ui-inventory
  2. UIIN-1831

Bugfest. Holdings with more than 5000 items does not display



    • Prokopovych - Sprint 131, Prokopovych - Sprint 132, Prokopovych - Sprint 133
    • 8
    • Prokopovych
    • Kiwi (R3 2021) Hot Fix #2
    • Yes
    • Approved by Mike G., Jakub S. and Khalilah.
    • University of Chicago


      Overview: In Bugfest environment we have loaded uChicago's data set. In uChicagos inventory they have a holdings with 16316 items. If a holdings have more than 5000 items then all items are not displaying.

      Steps to Reproduce:

      1. Log into some FOLIO Bugfest Kiwi
      2. Go to Inventory
      3. Search Holdings HRID ho126544 (=Instance resource title: Briefs and records of the U.S. Supreme Court.)

      Expected Results:
      All 16316 items are displayed under the holdings:

      Actual Results:
      The UI stops at 5000.

      Plan of attack:

      1. Change the ...limit=1 query to ...limit=0 to guarantee a correct record count as noted in the CQL docs. I'm relatively confident this step is necessary, but it may be worth checking the CQL docs to verify.
      2. Change the fetching of associated item records from a single fetch with limit=5000 to a series that fetches all N results, for any N, by retrieving results in pages until all records are retrieved.

      Additional Information:
      A query of the LDP returns all items.

      URL: https://bugfest-juniper.folio.ebsco.com/inventory/view/2e93db10-f5ce-4e64-8ae5-4a8ac489e5dd?query=Briefs%20and%20records%20of%20the%20U.S.%20Supreme%20Court.&sort=title

      Interested parties:

      Bugfix testing: https://foliotest.testrail.io/index.php?/cases/view/350640

      TestRail: Results


          1. Screenshot 2021-11-10 at 20.34.25.png
            447 kB
            Charlotte Whitt
          2. Skärmavbild 2021-10-28 kl. 2.32.35 em.png
            239 kB
            Charlotte Whitt
          3. Skärmavbild 2021-10-28 kl. 2.35.08 em.png
            200 kB
            Charlotte Whitt
          4. Skärmavbild 2021-10-28 kl. 2.35.18 em.png
            1.23 MB
            Charlotte Whitt
          5. Skärmavbild 2021-10-28 kl. 2.35.37 em.png
            1.19 MB
            Charlotte Whitt
          6. Skärmavbild 2021-10-28 kl. 2.39.18 em.png
            40 kB
            Charlotte Whitt
          7. Skärmavbild 2021-11-17 kl. 3.22.28 em.png
            519 kB
            Charlotte Whitt
          8. Skärmavbild 2022-01-03 kl. 3.39.40 em.png
            572 kB
            Charlotte Whitt
          9. Skärmavbild 2022-01-03 kl. 3.40.15 em.png
            558 kB
            Charlotte Whitt
          10. Skärmavbild 2022-04-19 kl. 10.38.46 fm.png
            592 kB
            Charlotte Whitt
          11. Skärmavbild 2022-04-19 kl. 10.39.01 fm.png
            497 kB
            Charlotte Whitt

          Issue Links



                mpk35 Michal Kuklis
                charlotte Charlotte Whitt
                Charlotte Whitt Charlotte Whitt
                0 Vote for this issue
                10 Start watching this issue



                  TestRail: Runs

                    TestRail: Cases