LP#1857150: adjust routing and single vs. double-click actions
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 9 Sep 2020 16:31:28 +0000 (12:31 -0400)
committerKyle Huckins <khuckins@catalyte.io>
Thu, 21 Jan 2021 20:38:30 +0000 (20:38 +0000)
commit7d7fc0b987c526223e4afe0f07ca609210c2c3cf
tree1e401b79118bb337c6144c2f2ea9e84a8c078899
parent1b82fc5713d6fea34703df5400018bf756e62403
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>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
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