LP1904036 Patron search DoB month/day repair
authorBill Erickson <berickxx@gmail.com>
Thu, 26 Aug 2021 18:32:36 +0000 (14:32 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 6 Oct 2022 17:05:39 +0000 (13:05 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/share/patron/search.component.ts

index 46c07bc..d3b9da7 100644 (file)
@@ -309,7 +309,7 @@ export class PatronSearchComponent implements OnInit, AfterViewInit {
 
                 if (!field.match(/year/)) {
                     // force day/month to be 2 digits
-                    chunk[field].value = ('0' + value).slice(-2);
+                    chunk.value = ('0' + value).slice(-2);
                 }
                 break;
         }