]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1857150: adjust routing and single vs. double-click actions user/berick/lp1857150-angular-providers
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 9 Sep 2020 16:31:28 +0000 (12:31 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 10 Sep 2020 19:08:31 +0000 (15:08 -0400)
commitfdf56a1c32f778bec9fae423b0bd320d25296ce8
treed2fc98da39ae36a9988175faf6bf8c4ccfa49691
parenta5e2cebc791ea2f0aa97afeb6bfd2f0c8d2f04c2
LP#1857150: adjust routing and single vs. double-click actions

This patch adjusts the routing to use a custom matcher so that
the base AcqProviderComponent doesn't get reinitalized unecessarily
when moving from the search form to a provider record and back. It
also ensures that when starting from the search form, single-clicking
a result won't hide the search form, while double-clicking will.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider.component.html
Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider.component.ts
Open-ILS/src/eg2/src/app/staff/acq/provider/routing.module.ts