LP#1917495 Angular Catalog: Hold status in View Holds is not saved user/mmorgan/lp1917495-hold-status-column-signoff
authorDan Briem <dbriem@wlsmail.org>
Wed, 3 Mar 2021 18:21:22 +0000 (13:21 -0500)
committerMichele Morgan <mmorgan@noblenet.org>
Wed, 10 Mar 2021 22:18:38 +0000 (17:18 -0500)
To test:
1. Go to a record in the Angular catalog
2. Click the View Holds tab
3. If status col is visible, remove status col, and save grid
4. Add status col and save grid.
5. Refresh page and note status field didn't stay visible
6. Apply patch, repeat steps 1-5, note Status stays visible

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html

index ec89ded..84bb536 100644 (file)
           {{hold.title}}
         </a>
       </ng-template>
-      <eg-grid-column i18n-label label="Title" [hidden]="true" name='title' 
+      <eg-grid-column i18n-label label="Title" [hidden]="true" name='title'
         [cellTemplate]="titleTmpl"></eg-grid-column>
       <eg-grid-column i18n-label label="Author" path='author'
           [hidden]="true"></eg-grid-column>
       <eg-grid-column i18n-label label="Potential Items" path='potentials' datatype="int">
       </eg-grid-column>
-      <eg-grid-column i18n-label label="Status" [cellTemplate]="statusTemplate">
+      <eg-grid-column i18n-label label="Status" [cellTemplate]="statusTemplate" name="status_string">
       </eg-grid-column>
       <eg-grid-column i18n-label label="Queue Position"
           path='relative_queue_position' [hidden]="true" datatype="int"></eg-grid-column>