LP1858138 Link selector consolidation/repairs
authorBill Erickson <berickxx@gmail.com>
Thu, 2 Jan 2020 21:28:46 +0000 (16:28 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 19 Aug 2020 15:07:36 +0000 (11:07 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/core/idl.service.ts

index fee3bd9..040bbba 100644 (file)
@@ -168,7 +168,7 @@ export class IdlService {
             const classDef = this.classes[idlClass];
 
             if (classDef.pkey) {
-                let selector = classDef.field_map[classDef.pkey].selector;
+                const selector = classDef.field_map[classDef.pkey].selector;
                 if (selector) { return selector; }
 
                 // No selector defined in the IDL, try 'name'.