From 87208fdf4365fd2fff54045dab7f8e71a5abb602 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Thu, 18 Jul 2019 15:20:39 -0400 Subject: [PATCH] LP1823367 Move away from "volume" moniker internally It isn't really correct to use "volume" and "call number" interchangeably. This code substitutes various forms of the second for various forms of the first within the internal variable and function names. To help contain the change, it tries to only do so for values which are native to eg2, and not leaking from or into other interfaces. Understanding that this change is somewhat disruptive, I still think it is in our overall best interest, as it will help us from falling into old habits, and it will help future coders better understand the relationship between the code and the interface. Note, this code does not change any filenames. This is for review purposes to allow the changes to be more easily observed. If accepted, we should change couple of affected filenames as well. Signed-off-by: Dan Wells Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- .../staff/catalog/hold/hold.component.html | 4 +- .../catalog/record/actions.component.html | 12 +- .../staff/catalog/record/actions.component.ts | 14 +- .../catalog/record/holdings.component.css | 2 +- .../catalog/record/holdings.component.html | 32 +-- .../catalog/record/holdings.component.ts | 272 +++++++++--------- .../delete-volcopy-dialog.component.html | 2 +- .../delete-volcopy-dialog.component.ts | 30 +- .../staff/share/holdings/holdings.module.ts | 6 +- .../staff/share/holdings/holdings.service.ts | 14 +- .../app/staff/share/holds/holds.service.ts | 6 +- 11 files changed, 197 insertions(+), 197 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.html index a63c69a449..fa04d86ede 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.html @@ -222,8 +222,8 @@
{{ctx.holdMeta.bibSummary.display.author}}
- - {{ctx.holdMeta.volume.label()}} + + {{ctx.holdMeta.callNum.label()}}
diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/actions.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/record/actions.component.html index 1d3856da08..62008a47df 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/actions.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/actions.component.html @@ -5,8 +5,8 @@ i18n-text text="Record Overlay Target Set"> - + @@ -23,7 +23,7 @@ - @@ -62,10 +62,10 @@ (Currently {{targets.holdTransfer.current}}) -