LP#1857150: adjust routing and single vs. double-click actions user/gmcharlt/lp1857150-angular-providers-v2
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 9 Sep 2020 16:31:28 +0000 (12:31 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 9 Sep 2020 16:31:28 +0000 (12:31 -0400)
commit32f5caf68c108d8090a5af57c90f421158ccde5c
treeadabe39384e687e0799f21264f2dbed5efca43bd
parent3b4b1200d987cc17cc189748ef0f83313236b635
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>
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