Angular Holdings Maint. Grid Fails to show All Items

Bug #1845047 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.4
Fix Released
Medium
Unassigned

Bug Description

Evergreen 3.4

The Holdings Maintenance grid in the Angular staff catalog only renders the first X rows of data if a grid configuration has been saved for the grid. Even though paging is disabled on the grid, the saved grid configuration may contain page size data, which clobbers the "show everything" value applied at load time.

The fix is to ignore any saved page size preference on grids whose paging has been disabled.

Patch en route.

Revision history for this message
Bill Erickson (berick) wrote :
tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.4-beta2
assignee: Bill Erickson (berick) → nobody
Galen Charlton (gmc)
Changed in evergreen:
milestone: 3.4-beta2 → 3.4.1
Changed in evergreen:
milestone: 3.4.1 → 3.4.2
Changed in evergreen:
milestone: 3.4.2 → 3.4.3
Changed in evergreen:
milestone: 3.4.3 → 3.4.4
Changed in evergreen:
milestone: 3.4.4 → 3.5.2
Revision history for this message
Elaine Hardy (ehardy) wrote :

Do you have any suggestions for the best way to test this since it is on http://angular-acq-test.evergreencatalog.com/? Should I just check bib records with many items attached to see if all holds are displayed in Holdings view? did you observe a threshold number of items attached where over that number didn't display?

Revision history for this message
Bill Erickson (berick) wrote :

Hi Elaine, testing this one requires some hoop-jumping.

1. Find a grid with many rows that does not have the disablePaging attribute enabled in the code (i.e. paging controls are present in the UI).
2. Save grid settings, which will save the grid limit.
3. Add the disablePaging attribute to the grid in the code and rebuild.
4. Before applying the patch from this bug, you would only see 10 rows, even though paging is disabled, meaning all rows should appear. After applying this patch, all rows will appear.

Revision history for this message
Elaine Hardy (ehardy) wrote :

I am testing on http://angular-acq-test.evergreencatalog.com/ and this bug is listed on the feedback fest test list, I will have to assume that 1-3 have been done. Not something I know how to check!

I have been seeing more than 10 rows as I test other bugs on this test server. I will formally go back to confirm I am seeing more than 10 rows.

Revision history for this message
Elaine Hardy (ehardy) wrote :

Consistently seeing all items in Holdings view in http://angular-acq-test.evergreencatalog.com/

I have tested this code and consent to signing off on it with my name, Elaine Hardy and my email address, <email address hidden>

tags: added: signedoff
Revision history for this message
Galen Charlton (gmc) wrote :

Pushed to master, rel_3_5, and rel_3_4. Thanks, Bill and Elaine!

One way to reproduce the bug is to do the following:

[1] Save grid settings in the Holdings View tab in the _AngularJS_ staff catalog and set the row count to (say) 5.
[2] View a record with more than 5 items in the _Angular_ staff catalog. The Holdings View tab, which uses the same grid columns setting as the AngularJS version of the grid, won't show all of the items unless the patch is applied.

Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.