tweak columns for picklist and purchase order grids
authorJason Etheridge <jason@EquinoxInitiative.org>
Wed, 20 Nov 2019 04:56:41 +0000 (23:56 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 16 Jan 2020 21:38:28 +0000 (16:38 -0500)
commit7dfce583eb36a11612d5fc8f5fd1a8ba5c110217
tree698b9a116495243e25a5f6e9153399a1bf51c7ce
parent99a43d680ad48e944d2808941f88655c754c4a42
tweak columns for picklist and purchase order grids

to better match the spec (unmandated columns hidden by default)

virtual columns such as picklist's entry_count have to be specified with eg-grid

hiding fleshed user columns was causing some uncaught errors and the grid to
misrender when manually unhidden. Adding a label helped, but would render the
cell as [object Object].  Using a cell template to handle that object was
providing different errors (.id() was accessible, but not .usrname()).  So,
unfleshing those for now.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts
Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.html
Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.html