LP1818288 Ang staff catalog record detail holds tab/actions
[evergreen-equinox.git] / Open-ILS / src / eg2 / src / app / staff / catalog / record / record.component.ts
index 2a98e36..c70b565 100644 (file)
@@ -103,6 +103,13 @@ export class RecordComponent implements OnInit {
             this.bib.fleshBibUsers([summary.record]);
         });
     }
+
+    currentSearchOrg(): IdlObject {
+        if (this.staffCat && this.staffCat.searchContext) {
+            return this.staffCat.searchContext.searchOrg;
+        }
+        return null;
+    }
 }