This changes the Patron Barcode column name to ucard_barcode to
match the field name in the database.
Note: due to the name change, users who saved the column on the
grid will have to add it again.
To test:
1. Go to the View Holds tab on a record that has hold requests
2. Add the Patron Barcode column to the grid
3. Sort by the barcode column and note that it works
4. It's a good idea to test that the grid settings save properly
Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
{{hold.ucard_barcode}}
</a>
</ng-template>
- <eg-grid-column i18n-label label="Patron Barcode" name="patron_barcode"
+ <eg-grid-column i18n-label label="Patron Barcode" path="ucard_barcode"
[cellTemplate]="userBarcodeTmpl" [hidden]="true"></eg-grid-column>
<eg-grid-column i18n-label label="Patron alias" path="usr_alias"></eg-grid-column>
this.cellTextGenerator = {
title: row => row.title,
cp_barcode: row => (row.cp_barcode == null) ? '' : row.cp_barcode,
- patron_barcode: row => row.ucard_barcode
+ ucard_barcode: row => row.ucard_barcode
};
}