Acq: When invoice-building with embedded search, allow control of results list user/berick/acq-invoice-search-order-by-fix
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 5 Oct 2012 22:42:11 +0000 (18:42 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 17 Oct 2012 14:38:18 +0000 (10:38 -0400)
commitf61736e1bb5dd902315b6e21b1ee0e09aaefe41c
tree3513f3dc91a0b5a7c599d9c11d86194f6a27bd32
parent2a6401269e9ab30518cd4ced8097f71b7c6793c8
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