LP1955927_Barcode_search_fails_in_patron_search_modal
authorGarry Collum <gcollum@gmail.com>
Wed, 29 Dec 2021 19:29:41 +0000 (14:29 -0500)
committerJason Stephenson <jason@sigio.com>
Fri, 11 Feb 2022 19:33:11 +0000 (14:33 -0500)
Fixes the barcode search in the patron search modal in the holds screen.

To test:
1. Navigate to the 'place a hold' screen in a bib record and open
the patron search modal.
2. Enter a patron barcode.
3. The search for the patron fails.
4. Apply the patch and repeat.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>

Open-ILS/src/eg2/src/app/staff/share/patron/search.component.html

index 3636b31..a6c3f1b 100644 (file)
@@ -44,7 +44,7 @@
         <input class="form-control" type="text" (keyup.enter)="go()"
           i18n-aria-label aria-label="Barcode"
           i18n-placeholder placeholder="Barcode"
-          [(ngModel)]="search.barcode"/>
+          [(ngModel)]="search.card"/>
       </div>
       <div class="col-lg-2">
         <input class="form-control" type="text" (keyup.enter)="go()"