Acq: When invoice-building with embedded search, allow control of results list
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 5 Oct 2012 22:42:11 +0000 (18:42 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 8 Jan 2013 15:41:53 +0000 (10:41 -0500)
commitbed345c3da99ab1c838baf42c5b0bfc5a746b17c
tree04909dc74ade162e73a9273a49e575754deef94a
parentba61b7aa214c77f67d7651006a542baa86d40142
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>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
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