]> git.evergreen-ils.org Git - Evergreen.git/commit
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)
committerJason Etheridge <jason@EquinoxInitiative.org>
Thu, 10 Sep 2020 20:36:38 +0000 (16:36 -0400)
commit421d912c9d081aea64b5fd0b0c5aab566309c5dd
treed2fc98da39ae36a9988175faf6bf8c4ccfa49691
parent0ddf23dd25782f2ecf16356cfb342760c280f86e
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