Coerce numbers for bib IDs in Angular staff catalog
[evergreen-equinox.git] / Open-ILS / src / eg2 / src / app / share / catalog / search-context.ts
index 7e5f810..f18a8cd 100644 (file)
@@ -276,7 +276,7 @@ export class CatalogSearchContext {
     }
 
     addResultId(id: number, resultIdx: number ): void {
-        this.resultIds[resultIdx + this.pager.offset] = id;
+        this.resultIds[resultIdx + this.pager.offset] = Number(id);
     }
 
     // Return the record at the requested index.