From: Galen Charlton Date: Mon, 20 Sep 2021 21:17:00 +0000 (-0400) Subject: LP#1929242: (follow-up) additional tweaks X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2c1c3b6443376e04fc5234569866d3214a9ada60;p=working%2FEvergreen.git LP#1929242: (follow-up) additional tweaks - remove console message upon deleting note - flesh the creator and editor columns - make notes grid filterable Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/notes.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/record/notes.component.html index 9c7e2e91b6..a4052336ac 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/notes.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/notes.component.html @@ -2,6 +2,7 @@ diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/notes.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/notes.component.ts index b489190892..f15cba9b89 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/notes.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/notes.component.ts @@ -71,7 +71,9 @@ export class NotesComponent implements OnInit { const searchOps = { offset: pager.offset, limit: pager.limit, - order_by: orderBy + order_by: orderBy, + flesh: 2, + flesh_fields: {bren: ['creator', 'editor']} }; return this.pcrud.search('bren', @@ -100,7 +102,7 @@ export class NotesComponent implements OnInit { this.deleteSelected = (notes: IdlObject[]) => { notes.forEach(note => note.isdeleted(true)); this.pcrud.autoApply(notes).subscribe( - val => console.debug('deleted: ' + val), + val => {}, err => {}, () => this.notesGrid.reload() );