LP#1850547: (follow-up) update catalog link
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 13 Aug 2020 16:14:04 +0000 (12:14 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 13 Aug 2020 16:14:04 +0000 (12:14 -0400)
Now that the Angular staff catalog is the default one, make
catalog record links in the LI table use it rather than the
AngularJS staff catalog.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/search/lineitem-results.component.html

index 142066c..cc18067 100644 (file)
@@ -45,7 +45,7 @@
 <ng-template #liLinksTmpl let-lineitem="row">
   <ul>
     <li *ngIf="lineitem.eg_bib_id()">
-      <a href="/eg/staff/cat/catalog/record/{{lineitem.eg_bib_id()}}"
+      <a routerLink="/staff/catalog/record/{{lineitem.eg_bib_id()}}"
          target="_blank" i18n>Catalog</a></li>
     <li><a href="/eg/staff/acq/legacy/lineitem/worksheet/{{lineitem.id()}}"
            target="_blank" i18n>Worksheet</a></li>