Acq: When invoice-building with embedded search, allow control of results list collab/senator/acq-inv-progressive-search-results
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 5 Oct 2012 22:42:11 +0000 (18:42 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 5 Oct 2012 22:42:11 +0000 (18:42 -0400)
commit0b9319a732c91cf54486647d1eb5fba5ddc87056
treefb4879dede496947cd04a8e4c3d9739c53d10a05
parentee8d5613cd3bc469678deece795fb43adb0e8f91
Acq: When invoice-building with embedded search, allow control of results list

Previously, a results list could accumulate under inconsistent
conditions.  You'd get an accumulating results list if you were pressing
enter after successful searches, but your results lists would clear if
you actually clicked the Search button.  Worse, searches yielding empty
result sets would *appear* to clear your result list, but subsequent
sucessful searches would restore what was there before.

This is the "missing commit" that makes the behavior consistent and
togglable.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/acq/invoice/view.tt2
Open-ILS/src/templates/acq/search/unified.tt2
Open-ILS/web/js/ui/default/acq/invoice/view.js
Open-ILS/web/js/ui/default/acq/search/unified.js