LP1858138 Link selector consolidation/repairs
authorBill Erickson <berickxx@gmail.com>
Thu, 2 Jan 2020 21:28:46 +0000 (16:28 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 3 Jan 2020 19:28:24 +0000 (14:28 -0500)
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'.