From 185c131c94257e264dfa9443baee1266a9b330c0 Mon Sep 17 00:00:00 2001 From: Github on behalf of Wellcome Collection Date: Tue, 3 Sep 2024 12:48:05 +0000 Subject: [PATCH] Apply auto-formatting rules --- .../sierra/rules/SierraRulesForRequesting.scala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common/source_model/src/main/scala/weco/catalogue/source_model/sierra/rules/SierraRulesForRequesting.scala b/common/source_model/src/main/scala/weco/catalogue/source_model/sierra/rules/SierraRulesForRequesting.scala index 933cbb0988..a0c517b7f7 100644 --- a/common/source_model/src/main/scala/weco/catalogue/source_model/sierra/rules/SierraRulesForRequesting.scala +++ b/common/source_model/src/main/scala/weco/catalogue/source_model/sierra/rules/SierraRulesForRequesting.scala @@ -137,9 +137,9 @@ object SierraRulesForRequesting { // v|i||108||=|p|| // #ls Line above opacmsg = By approval for vs 27/08/24 case i - if i - .fixedField("108") - .containsAnyOf("n", "a", "p") => + if i + .fixedField("108") + .containsAnyOf("n", "a", "p") => NotRequestable.NeedsManualRequest( "This item cannot be requested online. Please place a manual request." ) @@ -149,9 +149,9 @@ object SierraRulesForRequesting { // q|i||108||=|u|| // #ls Line above opacmsg = Unavailable for vs 27/08/24 case i - if i - .fixedField("108") - .contains("u") => + if i + .fixedField("108") + .contains("u") => NotRequestable.ItemUnavailable( "This item is unavailable." )