From: Jason Boyer Date: Fri, 20 Aug 2021 18:00:25 +0000 (-0400) Subject: LP1908614: Show the Age Hold Protection name in the staff catalog X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a429b831684efeff29d7ab9c55f0a80a79c8335f;p=evergreen%2Ftadl.git LP1908614: Show the Age Hold Protection name in the staff catalog Signed-off-by: Jason Boyer Signed-off-by: Michele Morgan Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html index ea6d030ca9..fdb1382889 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html @@ -48,6 +48,10 @@ + + {{copy.age_protect_label}} + +
- + diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm index d5da49b1bc..bd82c6738a 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm @@ -2123,6 +2123,9 @@ sub basic_opac_copy_query { {column => 'label', alias => 'part_label'}, ], ($staff ? (erfcc => ['circ_count']) : ()), + crahp => [ + {column => 'name', alias => 'age_protect_label'} + ], ($iss_id ? (sitem => ["issuance"]) : ()) }, @@ -2158,7 +2161,10 @@ sub basic_opac_copy_query { bmp => { type => 'left', filter => { deleted => 'f' } } } }}, - ($iss_id ? { # 6 + {'crahp' => { # 6 + type => 'left' + }}, + ($iss_id ? { # 7 sitem => { fkey => 'id', field => 'unit',