LP1840287 Floating group admin minor code tweaks
authorBill Erickson <berickxx@gmail.com>
Wed, 4 Dec 2019 20:52:23 +0000 (15:52 -0500)
committerJane Sandberg <sandbej@linnbenton.edu>
Sat, 1 Feb 2020 04:42:15 +0000 (20:42 -0800)
commit694a58143889361afe58ede04f6878882c8f869e
tree05e5cdbeb5d7e07dd3092b65e3b230f74c6dec9c
parent2fb5999d229117bb0c30a836fe26769941020a8f
LP1840287 Floating group admin minor code tweaks

* Added grid sorting to both group and group member grids.

* Avoid using the defaultNewRecord in fm-editor directly, by cloning it
  as needed, so that subsequent new records (within a single parent
  component instance) do not pick up values from the previously created
  record.

* Renamed the eg-admin-page @Input() 'hideFields' to 'hideGridFields'
  to better explain how the value will be passed along.

* Replace access of fieldmapper innards (thing.a[0]) with field names
  (thing.id())

* Remove unused <eg-string /> entries.

* Avoid unnecessary newlines in translatable strings.

* Remove unused @Inputs() and unnecessary functions

* Remove unneccessary TreeModule import

* Removed a redundant <eg-title /> -- <eg-staff-banner /> will set the
  title when present.

* Various 'ng lint' repairs.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts
Open-ILS/src/eg2/src/app/staff/admin/server/floating-group/edit-floating-group.component.html
Open-ILS/src/eg2/src/app/staff/admin/server/floating-group/edit-floating-group.component.ts
Open-ILS/src/eg2/src/app/staff/admin/server/floating-group/floating-group.component.html
Open-ILS/src/eg2/src/app/staff/admin/server/floating-group/floating-group.component.ts
Open-ILS/src/eg2/src/app/staff/admin/server/floating-group/floating-group.module.ts
Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.html
Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts