LP1879335 Manage authorities hide owner/source cols
authorBill Erickson <berickxx@gmail.com>
Fri, 21 Aug 2020 20:16:50 +0000 (16:16 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 11 Sep 2020 13:58:47 +0000 (09:58 -0400)
These fields are generally unused, but may be in the future, so hide
them by default.

Additionally, teach the grid to show the org unit shortname instead of
the org ID when the owner column is visible.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

Open-ILS/src/eg2/src/app/staff/cat/authority/browse.component.html

index 94a0f53..0b548a5 100644 (file)
@@ -86,9 +86,9 @@
     path="authority.create_date" flex="1" datatype="timestamp"></eg-grid-column>
   <eg-grid-column name="edit_date" label="Edit Date" i18n-label
     path="authority.edit_date" flex="1" datatype="timestamp"></eg-grid-column>
-  <eg-grid-column name="source" label="Source" i18n-label
+  <eg-grid-column name="source" label="Source" i18n-label [hidden]="true"
     path="authority.source" flex="1"></eg-grid-column>
-  <eg-grid-column name="owner" label="Owner" i18n-label
-    path="authority.owner" flex="1"></eg-grid-column>
+  <eg-grid-column name="owner" label="Owner" i18n-label [hidden]="true"
+    path="owner" flex="1"></eg-grid-column>
 </eg-grid>