LP1806087 Catalog nav link thinkos
authorBill Erickson <berickxx@gmail.com>
Wed, 26 Dec 2018 16:48:48 +0000 (11:48 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 10 Jan 2019 17:24:17 +0000 (12:24 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html
Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.ts

index ddfacc0..41dd3bc 100644 (file)
@@ -23,7 +23,7 @@
         <!-- XXX hard-coded width so columns align vertically regardless
              of the presence of a jacket image -->
         <div class="pl-2 record-jacket-div" >
-          <a href="javascript:void(0)" (click)="navigatToRecord(summary.id)">
+          <a href="javascript:void(0)" (click)="navigateToRecord(summary)">
             <img src="/opac/extras/ac/jacket/small/r/{{summary.id}}"/>
           </a>
         </div>
@@ -32,7 +32,7 @@
             <div class="col-lg-12 font-weight-bold">
               <!-- nbsp allows the column to take shape when no value exists -->
               <a href="javascript:void(0)"
-                (click)="navigatToRecord(summary)">
+                (click)="navigateToRecord(summary)">
                 {{summary.display.title || '&nbsp;'}}
               </a>
             </div>
index 737de6f..e4d78a5 100644 (file)
@@ -76,7 +76,7 @@ export class ResultRecordComponent implements OnInit, OnDestroy {
     /**
      * Propagate the search params along when navigating to each record.
      */
-    navigatToRecord(summary: BibRecordSummary) {
+    navigateToRecord(summary: BibRecordSummary) {
         const params = this.catUrl.toUrlParams(this.searchContext);
 
         // Jump to metarecord constituent records page when a