From: Jason Etheridge Date: Wed, 20 Nov 2019 04:56:41 +0000 (-0500) Subject: tweak columns for picklist and purchase order grids X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7dfce583eb36a11612d5fc8f5fd1a8ba5c110217;p=working%2FEvergreen.git 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 --- diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts b/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts index 9e21871ae8..38040a2795 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts @@ -45,15 +45,15 @@ const searchOptions = { purchase_order: { no_flesh_cancel_reason: true, flesh_provider: true, - flesh_owner: true, - flesh_creator: true, - flesh_editor: true + flesh_owner: false, + flesh_creator: false, + flesh_editor: false }, picklist: { flesh_lineitem_count: true, flesh_owner: true, - flesh_creator: true, - flesh_editor: true + flesh_creator: false, + flesh_editor: false }, invoice: { no_flesh_misc: true diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.html b/Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.html index 5464399382..b6c528d53d 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.html +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.html @@ -45,4 +45,10 @@ + + + + + + diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.html b/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.html index b6262cd77e..7b3300b82e 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.html +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.html @@ -14,9 +14,14 @@ + + + + +