LP1904036 Patron search DoB month/day repair
authorBill Erickson <berickxx@gmail.com>
Thu, 26 Aug 2021 18:32:36 +0000 (14:32 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:37 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
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;
         }