Browse form has hardcoded limit of the returned records

Description

Overview:
The request sent from UI to mod-search has hardcoded limit set to 10 and only 10 records is returned and precedingRecordsCount set to the default value (limit/2)

Steps to Reproduce:

  1. In the lotus bugfest environment, navigate to app Inventory app

  2. Search for PG1

Expected Results:
The form is populated with the default number of records (100) with 5 records preceding match (or missing match)
Actual Results:
Only 10 records are initially displayed:

Additional Information:
The value of the limit parameter can be left out and the default value will be used but the precedingRecordsCount should be set to 5.
For more information please see: https://github.com/folio-org/mod-search#records-browsing.

If there are less records than 100 or less than the value of the precedingRecordsCount , the backend will handle that.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Oleksii PetrenkoMarch 30, 2022 at 8:37 PM

Deployed to Lotus BF. Please proceed with verification

DenisMarch 30, 2022 at 6:17 AM

Uladzislau KutarkinMarch 29, 2022 at 7:41 AM

, Changes are avaliable on snapshot enviroment. I attached sreenshot from network that now we have procededRecordsCount setted to 5. 

DenisMarch 25, 2022 at 11:36 AM

Blocked because there is no way to merge the PR because of a recent issue with the external library that is being used by Stripes
https://folio-project.slack.com/archives/CAN13SWBF/p1648178644331419

cc

Uladzislau KutarkinMarch 24, 2022 at 7:24 PM

Thanks , I will fix it today.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Firebird

Fix versions

Release

Lotus (R1 2022) Bug Fix

RCA Group

Incomplete/missing requirements

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 15, 2022 at 6:19 PM
Updated June 28, 2022 at 2:13 PM
Resolved March 29, 2022 at 2:35 PM
TestRail: Cases
TestRail: Runs