Web staff client: items out page does not display value of certain columns
Bug #1472787 reported by
Galen Charlton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned |
Bug Description
In the web staff client's display of a patron's current loans, the values of several circulation fields (e.g., grace period) are not displayed even when the user adds the column to the grid.
This stems from a glitch in how wildcard egGridField paths are parsed. Consider these two lines from t_items_out.tt2:
<eg-grid-field path="*" hidden>
<eg-grid-field path="target_
The code that expands the path to pull in the relevant IDL fields handles the latter form correctly, but prepends a superfluous "." to each field name when expanding the former.
Evergreen master
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Two patches are available at the tip of user/gmcharlt/ lp1472787_ fix_eg_ grid_field_ path_expansion in the working/Evergreen repository:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ gmcharlt/ lp1472787_ fix_eg_ grid_field_ path_expansion
One patch fixes the bug, the other adds unit and regression tests.
To test:
[1] In the web staff client, bring up the list of a patron's
current loans. Add the grace period column to the grid,
but note that the loans' grace period values are not
actually displayed.
[2] Apply the patch.
[3] Refresh the browser and repeat step 1. This time, the
grace period values are displayed.