From: Jason Etheridge Date: Mon, 11 Nov 2019 19:27:25 +0000 (-0500) Subject: fleshing some columns for the list of selection lists :) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=48c6795d2c3dd782562dfe12f8c24a9ec691c3a6;p=working%2FEvergreen.git fleshing some columns for the list of selection lists :) 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 e71e458905..73c3791c35 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 @@ -47,7 +47,9 @@ const searchOptions = { }, picklist: { flesh_lineitem_count: true, - flesh_owner: true + flesh_owner: true, + flesh_creator: true, + flesh_editor: true }, invoice: { no_flesh_misc: true diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Picklist.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Picklist.pm index 2e9381f1d4..4030b58eca 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Picklist.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Picklist.pm @@ -127,6 +127,10 @@ sub retrieve_picklist_impl { if($$options{flesh_owner}); $picklist->owner($e->retrieve_actor_user($picklist->owner)->usrname) if($$options{flesh_username}); + $picklist->creator($e->retrieve_actor_user($picklist->creator)) + if($$options{flesh_creator}); + $picklist->editor($e->retrieve_actor_user($picklist->editor)) + if($$options{flesh_editor}); return $picklist; }