after selecting a provider from the search form, update the route
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 25 Mar 2020 18:47:14 +0000 (14:47 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 25 Mar 2020 18:47:14 +0000 (14:47 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider.component.ts

index 53ee01a..7f18906 100644 (file)
@@ -75,6 +75,8 @@ export class AcqProviderComponent implements OnInit, AfterViewInit {
             this.id = $event;
             this.providerRecord.fetch(this.id);
             this.showSearchForm = false;
+            this.activeTab = this.defaultTabType;
+            this.router.navigate(['/staff', 'acq', 'provider', this.id, this.activeTab]);
         };
     }